---
title: "Markets and Outcomes"
canonical_url: "https://docs.sportradar.com/resources/unified-odds-feed/docs/sdk/troubleshooting/markets-and-outcomes"
markdown_url: "https://docs.sportradar.com/resources/unified-odds-feed/docs/sdk/troubleshooting/markets-and-outcomes.md"
last_updated: "2026-11-13T10:11:41Z"
---

# Markets and Outcomes

**1. Sometimes I get an "odds\_change" message from the feed which contains no markets or markets containing no outcomes. Is that OK?**

An "odds\_change" message also contains an "event\_status" element, providing the current status of the associated sport event. An odds\_change message with no markets is therefore sometimes sent by the feed to provide the updated status of the sport event. Worth noting: the "odds\_change" message can come without markets or with markets containing no outcomes.

**2. How to get referenced competitor from outright market outcomes?**

#### JAVA

```java
public void onOddsChange(OddsFeedSession sender, OddsChange<SportEvent> oddsChanges) {
    SportEvent event = oddsChanges.getEvent();
    logger.info("Received odds change for: " + event);
 
    Season season = (Season) oddsChanges.getEvent();
    for (MarketWithOdds market : oddsChanges.getMarkets()) {
        for (OutcomeOdds outcome : market.getOutcomeOdds()) {
            String outcomeId = outcome.getId();
            Competitor competitor = uofSdk.getSportDataProvider().getCompetitor(Urn.parse(outcomeId));
            String competitorReference = competitor.getReferences().getReferences().get("competitor");
        }
    }
}
```
