I've been adequately testing and getting the outcomes on settled bets. However - is there a test for a betID to argue are you settled yet?
var myReport = client.listClearedOrders(BetStatus.SETTLED, null, null, null, null, myBetIds, null, null, null, null, null, null, null);
The above code works if the bet has indeed settled. But I get an out of range exception if the bet is not BetStatus.SETTLED. I guess because its not part of the settled group. So if you're purpose is to ask if the bet is yet settled? - what would you do?
BetStatus.NotSettled would of course be great......any help or advice?
Thanks
David.
var myReport = client.listClearedOrders(BetStatus.SETTLED, null, null, null, null, myBetIds, null, null, null, null, null, null, null);
The above code works if the bet has indeed settled. But I get an out of range exception if the bet is not BetStatus.SETTLED. I guess because its not part of the settled group. So if you're purpose is to ask if the bet is yet settled? - what would you do?
BetStatus.NotSettled would of course be great......any help or advice?
Thanks
David.


Comment