Interface MarketWithOdds

All Superinterfaces:
Market

public interface MarketWithOdds extends Market
This represents the odds changes for one market in the OddsChange message.
  • Method Details

    • getStatus

      MarketStatus getStatus()
      An indication if the associated market is active
      Returns:
      an indication if the associated market is active
    • getOutcomeOdds

      List<OutcomeOdds> getOutcomeOdds()
      Returns a list of odds for the different available market outcomes
      Returns:
      a list of odds for the different outcomes for this market
    • isFavourite

      boolean isFavourite()
      Only applicable if multiple market lines of the same market type is provided in the odds update
      Returns:
      in case we provide multiple lines for the same market - this reports if this line is the recommended one (this often but not always means the most balanced)
    • getMarketMetadata

      MarketMetadata getMarketMetadata()
      Returns a MarketMetadata instance which contains additional market information
      Returns:
      a MarketMetadata instance which contains additional market information