PriceData EX_BEST_OFFERS Issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Cotters07
    Junior Member
    • Apr 2014
    • 4

    #1

    PriceData EX_BEST_OFFERS Issue

    Hi

    I am collecting what I thought was the 3 prices for back & lay for a given market using EX_BEST_OFFERS in the Price Projection passed into listMarketBook.

    I just enumerated through the runners and got the 3 back & lay prices but checking against the website the details are completely different from what is displayed.

    I am not using any ExBestOffersOverrides so everything is default. What am I doing wrong? I just want to see the same prices in my code that are currently displayed as available on the site, I didn't have this issue with API 6.

    Thanks in anticipation
  • betdynamics
    Junior Member
    • Sep 2010
    • 534

    #2
    Set the "virtualise" flag in the listMarketBook call to true?

    You probably won't get an exact match to the web site unless the market is static as the web site only updates periodically (from my experience)

    Comment

    • Cotters07
      Junior Member
      • Apr 2014
      • 4

      #3
      That's great, many thanks for the response.
      So what prices am I seeing if I don't set the virtualise flag? they do seem to be very different from the site. Is this because the market moves faster than the website updates?

      One more query, when the prices get returned from call, I see them as price[0], price[1], price[2], etc.

      Am I correct in assuming that price[0] is the best price at the time of query execution?

      Also, is the Developer Program the only source of documentation? I cant find anything to describe the calls & techniques I should use for various operations and get the impression I am feeling my way through this implementation.

      Many Thanks again

      Comment

      • betdynamics
        Junior Member
        • Sep 2010
        • 534

        #4
        The market moves every few milliseconds (assuming any activity at all), whereas the web site only updates every few seconds.

        price[0] is always the best price on the market.

        All the calls are documented in the BDP documentation, but I'm not sure what you mean about techniques. I would classify the documentation as functional, but you can use the Visualisers to experiment with the various parameters and work out what they do.

        Comment

        Working...
        X