Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The below table indicates fields will be available at each roll-up when making requests to listClearedOrders

Wherever possible we want to display bet level data at higher roll-up levels (RUNNER & MARKET). This requires listClearedOrders to 'hoist' this data into higher roll-up levels whenever the value is unambiguous, this can occur when:

  • SIDE, RUNNER & MARKET level when only 1 bet is involved in the roll-up - only 1 possible value for each field so they are all unambiguous (in particular, betId)
  • RUNNER level when all bets are on the same side - value of side is unambiguous, priceRequested and priceMatched can be averaged, sizeSettled can be totalled.
  • MARKET level when all bets are on the same selection/side combo - value of selectionId, handicap and side are unambiguous, priceRequested and priceMatched can be averaged, sizeSettled can be totalled.
  • PersistenceType and OrderType are only displayed above BET level if all bets in the roll-up have the same type

Rollup level:
BET
SIDE
RUNNER
MARKET
EVENT
EVENT_TYPE
EXCHANGE

Settled As

YYYYYYY
Settled DateYMAXMAXMAXMAXMAXMAX

Bet Count

YYYYYYY
ProfitYSUMSUMSUMSUMSUMSUM
Exchange IdYYYYYYY
Event Type IdYYYYYYN
Event IdYYYYYNN
Market IdYYYYNNN
Selection IdYYYN*NNN
HandicapYYYN*NNN
SideYYN*N*NNN
Price RequestedYAVG

N*(AVG)

N*(AVG)NNN
Price MatchedYAVGN*(AVG)N*(AVG)NNN
Size SettledYSUMN*(SUM)N*(SUM)NNN
Price ReducedYYYYNNN
CommissionNNNYSUMSUMSUM
Bet IdYN*N*N*NNN
Placed DateYMAXMAXMAXNNN
Persistence TypeYYYYNNN
Order TypeYYYYNNN
Regulator CodeYYYYNNN
Regulator Auth CodeYYYYNNN

Voided Date

(where applicable)

YMAXMAXMAXNNN

 

*=fields that may be hoisted (if lower level fields are unambiguous or the roll-up contains only 1 bet)