RollupModel

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • joeyjoeuk
    Junior Member
    • Jul 2011
    • 11

    #1

    RollupModel

    Hi, could anyone explain what the RollupModel is, what its for and how its might be used please? I don't remember coming across it in API 6 and the explanation on the API-NG documentation is limited.

    I'm thinking in the context of how it would impact the AvailableToBack and AvailableToLay responses in a listMarketBook request.

    Thanks!
  • AlgoTrader
    Junior Member
    • Mar 2012
    • 243

    #2
    Rollup model is just a helper that allows you to aggreagate bets with the same price. It helps to avoid some calcs, but to be honest this feature is not of great value
    Betfair Bots Made Easy

    Comment

    • joeyjoeuk
      Junior Member
      • Jul 2011
      • 11

      #3
      Thanks AlgoTrader

      Comment

      • Tipmanager1
        Junior Member
        • Sep 2013
        • 34

        #4
        Besides aggregating bets, the roll up model can also be used to filter the prices on minimum stake or payout.

        So if you set your rolluplimit on 10 and your rollupmodel on 'Stake', all prices with stake below 10 are not returned.

        Comment

        • HazuRek
          Junior Member
          • Aug 2013
          • 21

          #5
          Does the rollup model work when getting prices? Did someone check it? I tried it (using exBestOffersOverrides.rollupModel and exBestOffersOverrides.rollupLimit parameters) but results were without rollup.
          May be I made some error.
          Thank you.

          BTW, exBestOffersOverrides.bestPricesDepth parameter also doesn't have any impact on the returning results.
          Last edited by HazuRek; 03-10-2013, 08:38 AM.

          Comment

          • Tipmanager1
            Junior Member
            • Sep 2013
            • 34

            #6
            it works for me, including BestPricesDepth.

            Comment

            • HazuRek
              Junior Member
              • Aug 2013
              • 21

              #7
              Originally posted by Tipmanager1 View Post
              it works for me, including BestPricesDepth.
              Could you please write the example of your request? Just to see what other params do you use.
              Thank you.

              Here is my request:
              Code:
              {"priceProjection":{"priceData":["EX_BEST_OFFERS"],"exBestOfferOverRides":{"rollupModel":"STAKE","rollupLimit":50},"virtualise":true,"rolloverStakes":false},"marketIds":["1.111178786"]}
              No rollup is made using it.

              =========
              Found the problem (mistyping): exBestOfferOverRides should be exBestOfferOverrides.
              I am sure that I've copied it from Wiki page, but may be I'm wrong.
              Last edited by HazuRek; 03-10-2013, 11:38 AM.

              Comment

              • Tipmanager1
                Junior Member
                • Sep 2013
                • 34

                #8
                Great, btw I use the API-NG Visualiser and Javascript console a lot to check the responses and requests of all API calls and their different parameters.

                Comment

                Working...
                X