listMarketBook request limits

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jptrader
    Junior Member
    • Nov 2009
    • 82

    #1

    listMarketBook request limits

    Are there any undocumented changes to the weights of the market data request limits. I have found that increasing the PriceProjection.ExBestOffersOverride.bestPricesDep th could give a "TOO_MUCH_DATA" error. Could you please update the documentation on this (and possibly other changes to the weights).
  • BetfairDeveloperProgram
    Administrator
    • Oct 2008
    • 680

    #2
    Hi jptrader,

    There haven't any recent changes to the market data request limit weightings.

    If you are receiving the "TOO_MUCH_DATA", please provide a specific example of the request being sent so that we can check this for you.

    Thanks

    Neil

    Comment

    • jptrader
      Junior Member
      • Nov 2009
      • 82

      #3
      According to the documentation I should be able to get 40 markets for listMarketBook with EX_BEST_OFFERS. In the example below I call listMarketBook for 31 markets, and this works as expected. However, if I replace the "bestPricesDepth":3 with "bestPricesDepth":6, the API returns a TOO_MUCH_DATA error. My tests have indicated that increasing bestPricesDepth to 6 I get an extra weight of 3, by increasing to 9 another 3.

      Best, JP

      {"marketIds":["1.110945336","1.110945331","1.110945318","1.11094 5340","1.110945365","1.110945373","1.110945332","1 .110945344","1.110945410","1.110945339","1.1109454 11","1.110945415","1.110945352","1.110945417","1.1 10945418","1.110945420","1.110945349","1.110945350 ","1.110945363","1.110945367","1.110945366","1.110 945301","1.110945369","1.110945424","1.110945368", "1.110945319","1.110945317","1.110945315","1.11094 5316","1.110945312","1.110945313"],"priceProjection":{"priceData":
      ["EX_BEST_OFFERS"],"exBestOffersOverrides":{"bestPricesDepth":3,"rol lupModel":"STAKE","rollupLimit":0,"rollupLiability Threshold":0.0,"rollupLiabilityFactor":0},"virtual ise":false,"rolloverStakes":false},"orderProjectio n":null,"matchProjection":null,"locale":null,"curr encyCode":null}
      Last edited by jptrader; 16-09-2013, 12:04 PM.

      Comment

      • jptrader
        Junior Member
        • Nov 2009
        • 82

        #4
        Hi Neil,

        Were you able to check the example I sent for you. If not, here is another one. This is for an event on Sunday 6th, so you should just need to copy the request until then. I have specified EX_BEST_OFFERS, which has a weight of 5, so I should be able to get 40 markets. But when bestPricesDepth is set to 6, as in the example, I get a TOO_MUCH_DATA response (there are 31 markets in the request).

        Kind regards, JP

        Code:
        {
        "marketIds":["1.111221988","1.111221983","1.111221964","1.111222020","1.111222021","1.111222076","1.111222018","1.111222019","1.111222017","1.111221953","1.111222015","1.111222062","1.111222004","1.111222002","1.111222001","1.111222063","1.111222069","1.111222070","1.111221996","1.111222067","1.111221992","1.111222072","1.111221991","1.111221984","1.111221970","1.111222025","1.111221969","1.111221971","1.111221965","1.111221968","1.111221967"],
        "priceProjection":
        {
            "priceData":["EX_BEST_OFFERS"],
            "exBestOffersOverrides":
            {
                "bestPricesDepth":6,
                "rollupModel":"STAKE",
                "rollupLimit":30,
                "rollupLiabilityThreshold":0.0,
                "rollupLiabilityFactor":0
            },
            "virtualise":false,
            "rolloverStakes":false
        },
        "orderProjection":"ALL",
        "matchProjection":"NO_ROLLUP",
        "locale":null,
        "currencyCode":null
        }
        Last edited by jptrader; 01-10-2013, 07:58 AM. Reason: Added code tags

        Comment

        Working...
        X