Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 36 Next »


What are Market Data Request Limits?

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.

sum(Weight) * number market ids must not exceed 200 points per requests

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.

listMarketCatalogue

MarketProjectionWeight

MARKET_DESCRIPTION

1

RUNNER_DESCRIPTION

0
EVENT0
EVENT_TYPE0
COMPETITION0
RUNNER_METADATA1
MARKET_START_TIME0

listMarketBook/listRunnerBook

PriceProjectionWeight
Null (No PriceProjection set)2
SP_AVAILABLE3
SP_TRADED7
EX_BEST_OFFERS5
EX_ALL_OFFERS17
EX_TRADED17

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:

PriceProjectionWeight
EX_BEST_OFFERS + EX_TRADED20

EX_ALL_OFFERS + EX_TRADED

32


If exBestOffersOverrides is used the weight is is calculated by weight * (requestedDepth/3).

listMarketProfitandLoss

PriceProjectionWeight
Not applicable4



  • No labels