Pages:
Actions
  • #1 by bettymcbet on 19 Aug 2016
  • I have a trigger where I bet in a inplay tennis market, with a condition that is based on the actual_sp. It seems that the actual_sp is always 0 however. Ie. I see this line in my trigger log when the trigger is triggered:

    Selection: Paolo Lorenzi, initial expr.: actual_sp, intermediate: 0.00, final: 0.00.

    What am I doing wrong?
  • #2 by MarkV on 20 Aug 2016
  • Hi
    I don't think SP is supported in tennis markets. Use one of these conditions to check:
    and markets SP is supported
    and selections trigger expression market_sp is equal to 1

    if you put market_sp into the viewer, 1 = SP supported 0 = SP not supported
    if market_sp returns 0, actual_sp will always be 0

    best workaround would be last_last_traded
    the last traded price that was recorded for the selection right before the off.

  • #3 by Oxa (WellDoneSoft) on 26 Aug 2016
  • MarkV is right, there are no SPs in tennis. You could use the variable for the price right before the off, like Mark suggested, or you can create a simple trigger that remembers all the selections and set its "Market Status" to "In-Play". It will fire as soon as the market turns in-play and remember all the selections in their current state. You then can refer to the remembered selections by their names to check their prices against the prices they had right after the off.
Pages:
Actions