Hi,
has anyone any experience in dealing with market resettlements? (i.e. a market is closed and settled and then, for some reasons, the settlemnt is changed)
I was wondering what could be the best way to detect that:
1) issuing a listMarketBook request for a particular market that's already settled and checking the marketVersion in the MarketBook struct against the one I have in the DB (but since there's not lastSettledDate in the same struct, I don't know how to detect if a new marketVersion is due to a resettlement)
2) issuing a listClearedOrders request for a particular market and checking the settledDate of the bets against the ones I have in the DB
3) any other ideas?
Thank you very much for your attention
Regards
Stian123
has anyone any experience in dealing with market resettlements? (i.e. a market is closed and settled and then, for some reasons, the settlemnt is changed)
I was wondering what could be the best way to detect that:
1) issuing a listMarketBook request for a particular market that's already settled and checking the marketVersion in the MarketBook struct against the one I have in the DB (but since there's not lastSettledDate in the same struct, I don't know how to detect if a new marketVersion is due to a resettlement)
2) issuing a listClearedOrders request for a particular market and checking the settledDate of the bets against the ones I have in the DB
3) any other ideas?
Thank you very much for your attention
Regards
Stian123


Comment