Accessing near/far bsp data.

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

    #1

    Accessing near/far bsp data.

    Hi, I've recently started working with the API using python, and according to the docs, it should be possible to access the near/far bsp data for a horse with listMarketBooks, under runners and then sp. However, this doesn't appear to be available for any selection despite this information showing on the exhchange website for the same races. I have even bought the live API key as I had read that this information isn't available with the delayed key, but the information is still not displaying for any of the races.

    I need to be able to ensure the BSP value hasn't drifted above a certain threshhold before placing a BSP bet on a horse. How can I do this using the API if not through the way I've described above?
  • LiamP
    Junior Member
    • Oct 2015
    • 284

    #2
    Share your code?

    Comment

    • Sansa
      Member
      • Jan 2019
      • 35

      #3
      Adding PriceData.SP_AVAILABLE to the set on the PriceProjection object sent to listMarketBook should return you that data.

      Comment

      Working...
      X