Pages:
Actions
  • #1 by Kevin R on 29 Oct 2018
  • Hi there,

    Im having an issue with using the var 'market_settled_pl', im outputting this to a CSV file, but it is reading as 0.00 in Real Mode but works fine in Test mode, only thing is my triggers use this to see if its had a win or lose, and to add it to recovery when it loses, am I missing something? because without this working its impossible to place real bets.

    Just to clarify, in test mode it works absolutely spot on, as soon as I flick to real mode im having the issues, also ive tried the old version software and new version also still the same.

    kev
  • #2 by mcbee on 29 Oct 2018
  • hi
    just tested it in live betting and it works ok.
    the problem could be your trigger is activating to soon , not giving enough time for the settled amount to be recorded in live mode.
    try adding the condition and markets settled p/l is not equal to 0

    mcbee
  • #3 by Oxa (WellDoneSoft) on 30 Oct 2018
  • The settlement procedure is somewhat different in real mode: it takes time for BetFair to settled your bets after the market is finished.

    Make sure you apply the trigger to Settled markets.

    Then add this condition to the trigger that writes to the CSV file:

    Selection's Trigger market_settled_pl is not equal to 0
  • #4 by Kevin Rooney on 30 Oct 2018
  • Hi,

    Thanks for your help, this explains why for so long all my triggers worked well in test mode then not at all in real mode, I think this should be written somewhere as this does actually fix it, just taken a long time to realise that this is what's happening when there is discrepancies between real and test mode.

    Kev
  • #5 by Oxa (WellDoneSoft) on 01 Nov 2018
  • There are quite a few such discrepancies, often discussed here on the forum, but you are right, I will put them together in a list and add to the Test Mode chapter of the manual.
Pages:
Actions