Pages:
Actions
  • #1 by McMurphy on 31 Jan 2013
  • The ABS function is removing the decimal part of a number.

    e.g.
    tradeType: [tradeType], layPrice:  [lay_price], backPrice: [back_price], ABS(total): [ABS(total)], total: [total]

    writes this to the log:
    Special log message from trigger "SET hedgeStake". tradeType: "LAY", layPrice: 1.67, backPrice: 1.54, ABS(total): 6.00000000, total: 6.48000000. Market "Soccer - Fixtures / Fixtures 31 January / Skonto Riga v FK Daugava Riga / Over/Under 2.5 Goals - Over/Under 2.5 Goals".
  • #2 by Oxa (WellDoneSoft) on 02 Feb 2013
  • Thanks, will look into this.
Pages:
Actions