ExBestOfferOverRides doesn't work??

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • EKK
    Junior Member
    • Aug 2010
    • 38

    #1

    ExBestOfferOverRides doesn't work??

    Hi,

    I am trying to specify the Best Offer OverRide - by default it is 3 when using EX_BEST_OFFERS

    I tried several values - and it always return 3 best (when available) - see the java code below

    Anyone else is using this feature?

    Thanks

    PriceProjection priceProjection = new PriceProjection();
    Set<PriceData> priceData = new HashSet<>();
    priceData.add(PriceData.EX_BEST_OFFERS);
    priceData.add(PriceData.EX_TRADED);
    priceProjection.setPriceData(priceData);
    ExBestOfferOverRides ex = new ExBestOfferOverRides();
    ex.setBestPricesDepth(6);
    priceProjection.setExBestOfferOverRides(ex);
    return priceProjection;
  • gus
    Senior Member
    • Jan 2009
    • 134

    #2
    I'm not 100% sure about this, but I think 3 is the maximum number of prices (on each side) that EX_BEST_OFFERS can return, so, basically you can override it to return 1, 2, or 3(the default) prices, but not more.

    If you want more than 3 then you need to use EX_ALL_OFFERS, but you can't override EX_ALL_OFFERS to return a fixed number of prices ... it's all or nothing.

    Comment

    • BetfairDeveloperProgram
      Administrator
      • Oct 2008
      • 679

      #3
      Hi EKK,

      Using the following request parameters will allow you to configure the price depth according to the number of prices you want to view on the back & lay side:

      Code:
      [{"jsonrpc": "2.0", "method": "SportsAPING/v1.0/listMarketBook", "params": {"marketIds":["1.115628678"],"priceProjection":{"priceData":["EX_BEST_OFFERS"],"exBestOffersOverrides":{"bestPricesDepth":"6","rollupModel":"NONE"}}}, "id": 1}]
      Kind Regards

      Neil

      Comment

      • EKK
        Junior Member
        • Aug 2010
        • 38

        #4
        Thanks - EKK

        Comment

        • EKK
          Junior Member
          • Aug 2010
          • 38

          #5
          Would you be able to increase the max specified number of level from 10 to 20 or something high?

          The idea is that I would like more than 10 prices but i don't want to have to suffer from cases where there are 100/200 prices (it happens for GB/IRL Horse races - which also have more horses than other races ) - I think that's what most people who use EX_ALL_OFFERS are in fact trying to achieve.

          I think it will be reduce the amount traffic for a lot of people

          Let me know

          Thanks

          Comment

          • EKK
            Junior Member
            • Aug 2010
            • 38

            #6
            Also one question on the roll-up model - when I use EX_ALL_OFFERS - it does not roll-up anything (all small size < 2GBP are kept where they are)?
            1/ if not - what does it default to?
            2/ if yes - I guess then is it possible to specify another roll up model than the default?

            Thanks

            Comment

            • EKK
              Junior Member
              • Aug 2010
              • 38

              #7
              never mind i found the info in the documentation - Thanks

              Comment

              Working...
              X