Although you can request multiple markets from listMarketBook, listRunnerBook, /wiki/spaces/BFAPIBETA/pages/1212460 and listMarketProfitandLoss, there are limits on the amount of data requested in one request. Info |
---|
sum(Weight) * number market ids must not exceed 200 points per request |
The following tables explain the "weighting" of data for each MarketProjection or PriceProjection. If you exceed the maximum weighting of 200 points, the API will return a TOO_MUCH_DATA error.
listMarketCatalogueMarketProjection | Weight |
---|
MARKET_DESCRIPTION | 1 | RUNNER_DESCRIPTION | 0 | EVENT | 0 | EVENT_TYPE | 0 | COMPETITION | 0 | RUNNER_METADATA | 1 | MARKET_START_TIME | 0 |
listMarketBook/listRunnerBookPriceProjection | Weight | Null (No PriceProjection set) | 2 | SP_AVAILABLE | 3 | SP_TRADED | 7 | EX_BEST_OFFERS | 5 | EX_ALL_OFFERS | 17 | EX_TRADED | 17 |
Please note: specific combinations of priceProjections will carry different weights that aren't the sum of their individual weights. Please see a summary of these below: PriceProjection | Weight | EX_BEST_OFFERS + EX_TRADED | 20 | EX_ALL_OFFERS + EX_TRADED | 32 |
If exBestOffersOverrides is used the weight is is calculated by weight * (requestedDepth/3).
listMarketProfitandLossPriceProjection | Weight | Not applicable | 4 |
|