construct batb and batl ladders using betfair light weight live streaming api

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tarak
    Junior Member
    • Nov 2019
    • 2

    #1

    construct batb and batl ladders using betfair light weight live streaming api

    hi
    I am using Betfair Light weight live streaming API for getting live streaming of all the markets for the present fixtures, and i am getting all the batb and batl values from it. And any one can help me out to construct the ladder using the betfair light weight API.
  • LiamP
    Junior Member
    • Oct 2015
    • 284

    #2
    It’s all there, use a debugger and you can see what is in the MarketBook object.

    Comment

    • Tarak
      Junior Member
      • Nov 2019
      • 2

      #3
      Hi Liam,

      Thanks for the quick reply.

      I am using the streaming example given in https://github.com/liampauling/betfa...lestreaming.py.
      I can see the streaming data coming from Betfair by printing market_book.streaming_update attribute.

      I have below queries:
      1. How can we get the available ladders for back and lay (atb and atl) for every runner at that point of time.
      2. How can we get the best available ladder for back and lay (batb and batl) for every runner at that point of time.
      3. I have gone through the Exchange Stream documentation provided by Betfair and understood the logic behind building price cache (https://docs.developer.betfair.com/d...ingapricecache). Should we build it manually or is this functionality already available in your solution.

      Being a newbie to python and betfair I am trying to understand the code of betfairlightweight API (https://github.com/liampauling/betfair).

      Any help would be greatly appreciated.
      Thanks in advance.

      Cheers,
      Tarak

      Comment

      • LiamP
        Junior Member
        • Oct 2015
        • 284

        #4
        Jump on the slack group and post this, I or someone else can then provide real time support / answer questions.

        Comment

        Working...
        X