We’ll be making the above update to the Stream API on Tuesday 8th December.
The change adds “cancelledDate” to the Unmatched Order object to signal the date an order was cancelled.
Documentation Updates
The following has been added to the list of fields in “uo” under the OrderChangeMessage section:
Sample code updates can be viewed via
https://github.com/betfair/stream-ap...6cd555e7770f77
Identifying Cancelled BSP Bets
Whilst BSP bets cannot be cancelled in general, in the scenario where a Limit Price applied to the BSP bet is updated this is modelled as a Cancellation of the original bet with the original Limit Price and a Place of a new bet with the new Limit Price.
In this scenario, the cancellation of the original bet can be identified by looking at the "Cancelled Date" field ("cd") on the "Unmatched Orders" object ("uo") - N.B. there will be no "Size Cancelled" ("sc") because a BSP bet does not have any Size before reconciliation.
Betfair Developer Program
The change adds “cancelledDate” to the Unmatched Order object to signal the date an order was cancelled.
Documentation Updates
The following has been added to the list of fields in “uo” under the OrderChangeMessage section:
- cd / Cancelled Date - the date the order was cancelled (null if the order is not cancelled)
Sample code updates can be viewed via
https://github.com/betfair/stream-ap...6cd555e7770f77
Identifying Cancelled BSP Bets
Whilst BSP bets cannot be cancelled in general, in the scenario where a Limit Price applied to the BSP bet is updated this is modelled as a Cancellation of the original bet with the original Limit Price and a Place of a new bet with the new Limit Price.
In this scenario, the cancellation of the original bet can be identified by looking at the "Cancelled Date" field ("cd") on the "Unmatched Orders" object ("uo") - N.B. there will be no "Size Cancelled" ("sc") because a BSP bet does not have any Size before reconciliation.
Betfair Developer Program