...
Description
Although you can request multiple markets from listMarketBook, /wiki/spaces/BFAPIBETA/pages/1212460 and listMarketProfitandLoss, there are limits on the amount of data requested in one request.
The following table explains
Info |
---|
sum(Weight) * number market ids must not exceed 200 points |
The following tables explain the "weighting" of data for each each MarketProjection or or PriceProjection. If you exceed the maximum weighting of 200 points, the API will return a a TOO_MUCH_DATA error.
sum(Weight) * number market ids must not exceed 200 points
...
error.
listMarketCatalogue
MarketProjection | Weight |
---|---|
MARKET_DESCRIPTION | 1 |
RUNNER_DESCRIPTION | 0 |
EVENT | 0 |
EVENT_TYPE | 0 |
COMPETITION | 0 |
RUNNER_METADATA | 1 |
MARKET_START_TIME | 0 |
listMarketBook
...
PriceProjection | Weight |
Null (No PriceProjection set) | 2 |
SP_AVAILABLE | 3 |
SP_TRADED | 7 |
EX_BEST_OFFERS | 5 |
EX_ALL_OFFERS | 17 |
EX_TRADED | 17 |
listMarketProfitandLoss
...
PriceProjection | Weight |
Not applicable | 4 |
...