All,
I think I found a bug in the listmarketbook when requesting multiple markets and one of the marketids has a trailing zero.
I think the market is not returned at all..
is what I request, and as example on the current Sharapova match
it's thus requesting 7 markets; showing the output of the print
when I receive the response though, I notice only 6 markets, and the market 1.114061210 is missing.
It happens everytime there is a market with id containing trailing zero.
Can somebody else verify same is happening?
When I try to use the virtualizer though I get a different mix of markets returned ..
I think I found a bug in the listmarketbook when requesting multiple markets and one of the marketids has a trailing zero.
I think the market is not returned at all..
Code:
resp = requests.post(urltouse, data=str(jsonrpc_req), headers=headers) print str(jsonrpc_req)
it's thus requesting 7 markets; showing the output of the print
Code:
{"jsonrpc": "2.0", "method": "SportsAPING/v1.0/listMarketBook", "params": {"marketIds": [1.114061202, 1.114061205, 1.114061206, 1.114061208, 1.114061210, 1.114061211, 1.114061212], "priceProjection":{"priceData":["EX_BEST_OFFERS"],"virtualise":true}}, "id": 1}
It happens everytime there is a market with id containing trailing zero.
Can somebody else verify same is happening?
When I try to use the virtualizer though I get a different mix of markets returned ..


Comment