Pages:
Actions
  • #1 by whitey86 on 06 Feb 2020
  • Hi,

    I'm not sure about anyone else but if I want to test a new idea in live mode I might only want to use a bit of my real balance. For example, I might be willing to test my new trigger with £50 of my real £500 balance.

    Most of my triggers have test_funds*0.01 or total_funds*0.01 to work out the amount to bet, it would be good if I could have a separate profile balance/funds that I can set (it will have to be less than the real amount obviously). A bit like the test funds but all liability, profit/loss gets updated for me.

    I know this can be done using variables but it's very complicated especially when you've got have a bet half matched and then the market gets suspended and half the bet is cancelled, betting on multiple markets at a time etc...

    I hope I've made my point?

    Thanks!
  • #2 by Oxa (WellDoneSoft) on 12 Feb 2020
  • Hello!

    If you're looking to always keep £X in your account and test your triggers on the rest, then use this formula:

    (IF(test_mode=1, test_funds, total_funds) - X)*bet_size/100

    If you want to use exactly £X of your funds, then use:

    X*bet_size/100
Pages:
Actions