Hi, Iam having issues getting the traded volume. I send a request as follows:
{"method":"SportsAPING\/v1.0\/listMarketBook","id":"1","jsonrpc":"2.0","params": {"marketIds":["1.118280148"],"priceProjection":{"priceData":["EX_BEST_OFFERS","EX_TRADED"]}}}
The marketID I've selected here is the winner of the Barclays Premier League so plenty of volume has been matched. Part of the response back:
[{"totalAvailable":2249219.83,"crossMatching":true, "runnersVoidable":false,"runners":[{"totalMatched":0.0,"ex":{"tradedVolume":[],"availableToBack":[{"size":4825.68,"price":2.54},{"size":3463.63,"pri ce":2.52},{"size":3336.33,"price":2.5}],"availableToLay":[{"size":665.83,"price":2.56},{"size":3766.08,"pric e":2.58},{"size":1204.26,"price":2.6}]},"lastPriceTraded":2.56,"selectionId":1096,"handi cap":0.0,"status":"ACTIVE"},
There is no value set in tradedVolume, I was expecting to get values as I've specified EX_TRADED in the priceProjection.
{"method":"SportsAPING\/v1.0\/listMarketBook","id":"1","jsonrpc":"2.0","params": {"marketIds":["1.118280148"],"priceProjection":{"priceData":["EX_BEST_OFFERS","EX_TRADED"]}}}
The marketID I've selected here is the winner of the Barclays Premier League so plenty of volume has been matched. Part of the response back:
[{"totalAvailable":2249219.83,"crossMatching":true, "runnersVoidable":false,"runners":[{"totalMatched":0.0,"ex":{"tradedVolume":[],"availableToBack":[{"size":4825.68,"price":2.54},{"size":3463.63,"pri ce":2.52},{"size":3336.33,"price":2.5}],"availableToLay":[{"size":665.83,"price":2.56},{"size":3766.08,"pric e":2.58},{"size":1204.26,"price":2.6}]},"lastPriceTraded":2.56,"selectionId":1096,"handi cap":0.0,"status":"ACTIVE"},
There is no value set in tradedVolume, I was expecting to get values as I've specified EX_TRADED in the priceProjection.


trying to figure out what I'd done wrong.
Comment