Pages:
Actions
  • #1 by londolozi on 20 Jan 2015
  • I just adjusted a trigger and wanted to use 2 conditions to check a price of a horse.

    last_traded and near_sp

    last_traded reports in the program log but near_sp reports 0.00.
    The event was Aust Horse racing Warrnambool Race 2

    Does any here use near_sp regularly and is it reliable in the API?

    PS...I recall having issues with near_sp before. I don't recall successfully using it in a trigger.
  • #2 by londolozi on 21 Jan 2015
  • Does any use near_sp here?
    if so, what conditions need to be existing?
  • #3 by barniani on 22 Jan 2015
  • Not here. Just from what I noticed, this is rarely used but hopefully, you'll be given some tips though.
  • #4 by Oxa (WellDoneSoft) on 25 Jan 2015
  • Hi londolozi,

    I've tested near_sp and it does seem to return correct figures which are equal to the selection's Near SP. It may be null if Near SP is null as well, e.g. in a low-liquidity market (as AUS races often are).

    You can always compare the variable against the SP value, see the attached picture.
  • #5 by londolozi on 25 Jan 2015
  • Thanks Oxa.
    Well at least technically it's reporting. However, the frequency/reliability may be in doubt but that's not your issue. 
Pages:
Actions