Markets

The Markets element is an array of Market elements. Every Market holds data regarding lines and bets.

<Markets>
    <Market Id="2" Name="Under/Over" MainLine="3.5">
      <Bets>
        <Bet Id="14576566594209218" Name="Over" Line="3.5" BaseLine="3.5" Status="1" StartPrice="1.0" Price="1.844" ProviderBetId="0" LastUpdate="2018-12-23T12:26:49.537Z" PriceUS="-118" PriceHK="0.844" />
        <Bet Id="17752677724209218" Name="Over" Line="4.5" BaseLine="4.5" Status="1" StartPrice="1.0" Price="3.563" ProviderBetId="0" LastUpdate="2018-12-23T12:26:49.537Z" PriceUS="256" PriceHK="2.563" />
        <Bet Id="16341052714209218" Name="Over" Line="5.5" BaseLine="5.5" Status="1" StartPrice="1.0" Price="7.482" ProviderBetId="0" LastUpdate="2018-12-23T12:26:49.537Z" PriceUS="648" PriceHK="6.482" />
        <Bet Id="20966252704209218" Name="Under" Line="2.5" BaseLine="2.5" Status="1" StartPrice="1.0" Price="4.585" ProviderBetId="0" LastUpdate="2018-12-23T12:26:49.537Z" PriceUS="359" PriceHK="3.585" />
        <Bet Id="2494839224209218" Name="Over" Line="3.75" BaseLine="3.75" Status="1" StartPrice="1.0" Price="2.138" ProviderBetId="0" LastUpdate="2018-12-23T12:26:49.537Z" PriceUS="114" PriceHK="1.138" />
        <Bet Id="20966252374209218" Name="Under" Line="3.5" BaseLine="3.5" Status="1" StartPrice="1.0" Price="1.918" ProviderBetId="0" LastUpdate="2018-12-23T12:26:49.537Z" PriceUS="-109" PriceHK="0.918" />
        <Bet Id="20575927744209218" Name="Over" Line="6.5" BaseLine="6.5" Status="1" StartPrice="1.0" Price="13.0" ProviderBetId="0" LastUpdate="2018-12-23T12:26:49.537Z" PriceUS="1200" PriceHK="12" />
        <Bet Id="3306500694209218" Name="Under" Line="3.25" BaseLine="3.25" Status="1" StartPrice="1.0" Price="2.269" ProviderBetId="0" LastUpdate="2018-12-23T12:26:49.537Z" PriceUS="127" PriceHK="1.269" />
      </Bets>
    </Market>
  </Markets>

Model

Element

Data Type

Description

Market.Id

int

The unique ID of the market

Market.Name

string

The name of the market

Market.MainLine

string

Indicates the main line for relevant markets. Sends suspended if no open lines exist.

Id

int

The uniqueness of the bet id is for a specific market under a specific fixture

Name

string

The name of the bet

Line

string

The line of the bet

BaseLine

string

The baseline helps you group all bets that belong together. In the example above – all bets with the same baseline (0:2) belong together

enum

The status of the bet

StartPrice

double

Not supported sent with 1 as default value.

Price

double

The price (odd) of the bet

enum

Represents how the bet was settled (resulted) Relevant for Bet Status (3)

ProviderBetId

string

OPTIONAL: The bet ID, as shown by the provider

LastUpdate

DateTime

Timestamp representing the time the bet was last updated

ParticipantId

int

OPTIONAL: Reference ID to the participant in the fixture Note: Provided in outright fixtures or in player's markets

Probability

double

OPTIONAL: The Probability field is configurable per customer request. Probability won't be calculated and will be sent with value= "-1" in the following cases:

  1. one of the market bets is suspended.

  2. one of the market bets is equal to or lower than 1.00 (similar to suspended).

  3. The market is a special market and TRADE360 cannot calculate fair odds or probability.

If the probability ="-1", customers should not calculate the cash-out amount for the bets under this market (or line in case of a market with lines)

PlayerName

string

OPTIONAL: Appears only in player props markets, which are markets where the player's names are the bets.

SuspensionReason

int

PriceUS

string

OPTIONAL: The PriceUS field is configurable per customer request. The price (odd) of the bet in American odds format

PriceHK

string

OPTIONAL: The PriceHK field is configurable per customer request. The price (odd) of the bet in Hong Kong odds format

Last updated