Pages:
Actions
  • #1 by liltbrockie on 08 Jul 2015
  • Hello!

    Is it possible to see from a settled market which part of a bet won/lost?

    Eg if I placed a lay bet and a back bet and the lay bet won but the back bet LOST can I gleam this information some how?
  • #2 by liltbrockie on 08 Jul 2015
  • I suppose it is possible to assess the profit/loss on the last settled market and work out from that which bets if any arrived at that amount?
  • #3 by Oxa (WellDoneSoft) on 09 Jul 2015
  • You can get the average price and amount of the back bets you placed in the last settled market, as well as the lay bets. See Win/Lose History variables hist_1_backp, hist_1_backa, hist_1_layp, hist_1_laya.

    If you execute the trigger in a settled market, then the selection's place should be known at the moment of checking the trigger conditions. Therefore, you can derive the type of winning bet by checking if Selection's Trigger Expression sel_place is greater than 0. The place will be equal to 0 for all losing selections.
Pages:
Actions