Hi
I want to know 100% when a market is running as I was getting lots of cases of CLOSED markets which still had Inplay as True. And I thought InPlay was the way of checking.
However I was told this.
question) How do I know 100% a race is running?
answer given) If the race is ACTIVE and "inplay":true,
also
InPlay means that the market is in play and is subject to the market status being ACTIVE. The CLOSED state indicates that the market has been settled. A market won't changed from CLOSED to ACTIVE in its lifetime, Its will only transmission from SUSPENDED > ACTIVE before being settled (CLOSED).
But on their ENUM page there are only 4 and none that says ACTIVE.
https://api.developer.betfair.com/se...s-MarketStatus
INACTIVE - The market has been created but isn't yet available.
OPEN - The market is open for betting.
SUSPENDED - The market is suspended and not available for betting.
CLOSED - The market has been settled and is no longer available for betting.
And on their Betting Type Definitions page they say against status this
status: MarketStatus
The status of the market, for example ACTIVE, SUSPENDED, CLOSED (settled), etc.
Have they confused ACTIVE with OPEN?
Or is there an ACTIVE enum missing from their documentation and code?
Thanks
Rob
I want to know 100% when a market is running as I was getting lots of cases of CLOSED markets which still had Inplay as True. And I thought InPlay was the way of checking.
However I was told this.
question) How do I know 100% a race is running?
answer given) If the race is ACTIVE and "inplay":true,
also
InPlay means that the market is in play and is subject to the market status being ACTIVE. The CLOSED state indicates that the market has been settled. A market won't changed from CLOSED to ACTIVE in its lifetime, Its will only transmission from SUSPENDED > ACTIVE before being settled (CLOSED).
But on their ENUM page there are only 4 and none that says ACTIVE.
https://api.developer.betfair.com/se...s-MarketStatus
INACTIVE - The market has been created but isn't yet available.
OPEN - The market is open for betting.
SUSPENDED - The market is suspended and not available for betting.
CLOSED - The market has been settled and is no longer available for betting.
And on their Betting Type Definitions page they say against status this
status: MarketStatus
The status of the market, for example ACTIVE, SUSPENDED, CLOSED (settled), etc.
Have they confused ACTIVE with OPEN?
Or is there an ACTIVE enum missing from their documentation and code?
Thanks
Rob


Comment