Pulling Matched Prices Data on Horse Racing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • GarethR
    Junior Member
    • Oct 2020
    • 2

    #1

    Pulling Matched Prices Data on Horse Racing

    Hi,
    I am trying to work out how to pull data on prices / quantities matched for a particular selection/runner on a horse race.

    I assumed it would be the function listRunnerBook, using the Market ID and Selection ID, as the input. However, I can't seem to see how the price data can be pulled. Any help would be greatly appreciated.

    Thank you

  • jabe
    Senior Member
    • Dec 2014
    • 705

    #2
    Interesting. I didn't know listRunnerBook was a thing, and I'm not sure I understand its purpose.

    If you listMarketBook, there is an array of runners.

    For each runner, there is ex of type ExchangePrices.

    ExchangePrices has three arrays, as follows:

    Code:
    Public Class ClassExchangePrices
       Public availableToBack() As ClassPriceSize
       Public availableToLay() As ClassPriceSize
       Public tradedVolume() As ClassPriceSize
    End Class
    
    Public Class ClassPriceSize
       Public price As Double
       Public size As Double
    End Class
    So each of those arrays shows values of price and size.

    tradedVolume sounds like the data you require.

    Comment

    • GarethR
      Junior Member
      • Oct 2020
      • 2

      #3
      Thank you! I was looking at the wrong function. Exactly what I was after

      Comment

      Working...
      X