I've just started implementing the new API and have run into problems with this API call.
To retrieve my bets, I have a choice of specifying EXECUTION_COMPLETE, EXECUTABLE or ALL, for matched, unmatched & both. The problem is, if I ask for just matched bets, the details of partially-matched bets are not returned.
This seems like a bug to me. The old API would return details of partial matches. It doesn't make sense to me to ignore a matched bet if there's 1p remaining unmatched.
The workaround is to always request ALL. However, this is horribly inefficient. I bet in a lot of markets and at any one point can have thousands of unmatched bets placed. So to discover the matched bets, this new API has to send me all of the details of the unmatched ones as well.
Please fix this!
To retrieve my bets, I have a choice of specifying EXECUTION_COMPLETE, EXECUTABLE or ALL, for matched, unmatched & both. The problem is, if I ask for just matched bets, the details of partially-matched bets are not returned.
This seems like a bug to me. The old API would return details of partial matches. It doesn't make sense to me to ignore a matched bet if there's 1p remaining unmatched.
The workaround is to always request ALL. However, this is horribly inefficient. I bet in a lot of markets and at any one point can have thousands of unmatched bets placed. So to discover the matched bets, this new API has to send me all of the details of the unmatched ones as well.
Please fix this!


Comment