Get price liquidity

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Fralgo
    Junior Member
    • May 2016
    • 2

    #1

    Get price liquidity

    Hi,
    sorry if the question I am going to ask is completely noob but I am just learning how to deal with the API-NG system and betfair at the same time for the first time.

    Let's say I've got an horse racing, if I am not mistaking every depth has the price and relative liquidity(the amount of money currently available)
    if I want to get the price and relative liquidity what am I supposed to do?

    cheers
  • jabe
    Senior Member
    • Dec 2014
    • 705

    #2
    There's an awful lot to take in, so good luck with it all.

    This is the online documentation:
    http://docs.developer.betfair.com/do...lu3yomq5qye0ni

    You can download the documentation in PDF form. This link opens up a version from December (which you should then be able to download), but I'm sure there's a later version that I can't find a link for. Perhaps a search on the forum might get you a better link.
    http://docs.developer.betfair.com/do...cember2015.pdf

    I would suggest that you create for yourself all the classes you might need from the information in the documentation. It will help you see how the data is structured and give you a solid idea of where to locate any piece of data you are going to require. A bit dull, certainly, but it would be wise not to expect instant or easy results in your project.

    The data you will require for the odds and money available can be found with the listMarketBook call. Before requesting MarketBook data, you will have obtained the MarketCatalogue data for the market. The MarketBook data, here
    http://docs.developer.betfair.c
    om/docs/display/1smk3cen4v3lu3yomq5qye0ni/Betting+Type+Definitions#BettingTypeDefinitions-MarketBook

    includes data for each runner in an array/collection/whatever, here
    http://docs.developer.betfair.com/do...nitions-Runner

    and most of what you require will be listed under exchangeprices, here
    http://docs.developer.betfair.com/do...ExchangePrices

    and

    http://docs.developer.betfair.com/do...ions-PriceSize

    The price is the odds and the size is the stake.

    Comment

    • Fralgo
      Junior Member
      • May 2016
      • 2

      #3
      Thank you very much for your help

      cheers

      Comment

      Working...
      X