Author Topic: near_sp reports 0.00  (Read 1709 times)

Tags:
  • All members
  • Posts: 490
  • Gender: Male
near_sp reports 0.00
« on: 20 Jan 2015, 04:09 »
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.
Improvise Adapt Overcome

  • All members
  • Posts: 490
  • Gender: Male
Re: near_sp reports 0.00
« Reply #1 on: 21 Jan 2015, 08:01 »
Does any use near_sp here?
if so, what conditions need to be existing?
Improvise Adapt Overcome

  • All members
  • Posts: 51
Re: near_sp reports 0.00
« Reply #2 on: 22 Jan 2015, 19:25 »
Not here. Just from what I noticed, this is rarely used but hopefully, you'll be given some tips though.
Greening Up

  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: near_sp reports 0.00
« Reply #3 on: 25 Jan 2015, 15:03 »
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.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

  • All members
  • Posts: 490
  • Gender: Male
Re: near_sp reports 0.00
« Reply #4 on: 25 Jan 2015, 20:44 »
Thanks Oxa.
Well at least technically it's reporting. However, the frequency/reliability may be in doubt but that's not your issue. 
Improvise Adapt Overcome

 

Please note, BetFair is seems to be currently OFFLINE