Market Request Call Limits

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • davez
    Junior Member
    • May 2020
    • 9

    #1

    Market Request Call Limits

    Quick Question, I'm just building API Data Access for Betfair's API. I currently setting up all the rules for it. I am aware of the 5000 call limit per hour when placing bets to avoid the extra charges.
    I have handled the call weights appropriately, and made sure there is no more than 200 requests per call.

    However I am unsure if it is safe to send multiple calls at once to request market data
    Do I Have to have a delay (i.e. 25ms between calls)?
    Or do they need to be sent synchronously (wait for the data to return)?
    Or is it simply ok to hammer the server with as many calls as I need until I have the data I need for this burst of activity?
    I would normally send a request with a minimal delay of 25ms as I have read somewhere that more than this would be frowned upon by Betfair as there would be little point as there would be no data from the server anyway.

    Any guidance would be appreciated.
  • jabe
    Senior Member
    • Dec 2014
    • 705

    #2
    I don't know if this makes a difference but the updates at the Betfair end happen five times a second.

    Comment

    • davez
      Junior Member
      • May 2020
      • 9

      #3
      I was a little off with 25ms then. lol
      What I'm trying to find out is, if I want results from 10 markets at the same time from listMarketBook I would most likely be over the 200 weight limit to make just 1 call for all the data.
      Is it ok to send 7 requests or what ever is needed one after the other within 1ms all asynchronously or would I need to put in a delay of some kind?
      Last edited by davez; 11-02-2021, 05:57 PM.

      Comment

      • LiamP
        Junior Member
        • Oct 2015
        • 284

        #4
        Originally posted by jabe View Post
        I don't know if this makes a difference but the updates at the Betfair end happen five times a second.
        The matching cycle is 50ms not 200ms.

        Davez, any reason you are not using streaming?

        Comment

        • davez
          Junior Member
          • May 2020
          • 9

          #5
          Haven't got live keys yet £300 is a lot to me at the moment, when I get some of this app sorted I will change things up and move to streaming but I have a lot of testing first

          Comment

          • davez
            Junior Member
            • May 2020
            • 9

            #6
            Hmmm. this was not there the last time I visited this page 'Any new Delayed App Keys created since 8th April 2020 haved default access to Stream API' .
            Looks like I have to go back to square one

            Comment

            • jabe
              Senior Member
              • Dec 2014
              • 705

              #7
              Originally posted by LiamP View Post

              The matching cycle is 50ms not 200ms.

              Davez, any reason you are not using streaming?
              I stand corrected.

              Comment

              • davez
                Junior Member
                • May 2020
                • 9

                #8
                The Answer my own question. It seems ok to hammer the servers asynchronously till I get all the market data I need, it is over a short period of time. I have put many checks in, just in case Betfairs Api changes its mind. But for the moment it seems to be working fine.

                Comment

                • LiamP
                  Junior Member
                  • Oct 2015
                  • 284

                  #9
                  Originally posted by davez View Post
                  The Answer my own question. It seems ok to hammer the servers asynchronously till I get all the market data I need, it is over a short period of time. I have put many checks in, just in case Betfairs Api changes its mind. But for the moment it seems to be working fine.
                  Good luck, you won’t last long.

                  Comment

                  Working...
                  X