When we receive an odds change and try to process the outcomes, the odds are null (we are using OutcomeOdds.getOdds(OddsDisplayType.DECIMAL) from the SDK).…
Could you please clarify why those are null and what that means to you?
- The market is suspended
- The market is deactivated
- An individual outcome is deactivated
You can avoid requesting the odds for the markets that don’t have them by doing it just on the markets with odds, for example:
for (MarketWithOdds marketOdds : message.getMarkets()) {
// [ ... ]
}