currentOrders
function allows users to retrieve data about
any unsettled bets they have open. Use the parameters to filter to specific
markets, or leave the function empty to return all open positions
betId |
unique bet Id |
marketId |
unique market Id |
orderProjection |
default of ALL returns all unsettled positions, matched or partially matched, change to EXECUTABLE to filter for orders with a portion remaining, or EXECUTION_COMPLETE for orders which have been filled, see orderProjection section in BettingEnums for more details |
from |
date filter, string in yyyy-mm-dd format |
to |
date filter, string in yyyy-mm-dd format |
orderBy |
how to order orders, default of "BY_BET" orders by when they were placed, see orderBy section in BettingEnums for more details |
sort |
how to sort results, default is "EALIEST_TO_LATEST" (alternative is "LATEST_TO_EARLIEST") see sortDir section in BettingEnums for more details |
fromRecord |
specifies the first record to be returned, records start at index zero (not one) |
count |
specifies how many records are returned from the index position set
by |
list with data about individual orders
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.