Question about marketactivity

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BetNewUser
    Junior Member
    • Jan 2019
    • 2

    #1

    Question about marketactivity

    Good day!

    Please help me figure it out, already broke my head, lost my appetite and took a restful sleep with me ...

    I use: https://api-au.betfair.com/exchange/betting/json-rpc/v1, I write scripts in PHP.


    I need to read the data on the basis of which the table is formed to the right of the chart:
    https://www.betfair.com/exchange/foo...ectionId=10779


    Understood and normally receive data on listEventTypes, listMarketCatalogue, etc.

    Guide API - re-read, but did not find a solution. The closest is: listMarketBook, but here I get only three cells availableToBack / availableToLay and that's it.

    And you need to read the data availableToBack (price / size), availableToLay (price / size), traded (price / size) and lastPriceTraded, totalMatched - for all selectionId of the selected id event.


    PS: I apologize for the style of the text, translate through Google ...
  • jabe
    Senior Member
    • Dec 2014
    • 705

    #2
    You'll only get three ots of back and lay with the Delayed App Key. matches should give you the data for the rightmost column on your image..

    Comment

    • BetNewUser
      Junior Member
      • Jan 2019
      • 2

      #3
      This is not exactly what is needed. I need the entire table of the ladder to make my betting interface for this ladder, and I need to see the accepted bets and acceptable values!

      In any, even the simplest program, this opportunity is present, so I suppose that this possibility exists, but I just don’t understand where to look ...
      Maybe I missed something in the manual?
      Last edited by BetNewUser; 10-01-2019, 08:43 PM.

      Comment

      • newbie99
        Junior Member
        • Dec 2018
        • 62

        #4
        Originally posted by BetNewUser View Post
        This is not exactly what is needed. I need the entire table of the ladder to make my betting interface for this ladder, and I need to see the accepted bets and acceptable values!

        In any, even the simplest program, this opportunity is present, so I suppose that this possibility exists, but I just don’t understand where to look ...
        Maybe I missed something in the manual?
        Are you able to explain a bit more what you need, from your description its a bit ambiguous?

        Do you mean you want to see your own accepted bets and prices (that is possible) or all those in the market so far (I don't know if that's possible)?

        As jabe said, with the Delayed App key you only see 3 pricing layers and (as I discovered myself) they don't match what you see on the main Betfair site as it bundles them up in what (at first) seems like an illogical way. It does make sense, in that they consolidate all prices into 3, but it seems a bit strange when you first encounter it. Also the amount traded and BSP prices for horse racing are not included with the Delayed App Key.

        That said, as far as I know all other fields are available!

        Comment

        Working...
        X