40
« Last post by djmotion on 17 Oct 2024, 15:10 »
Hey so I'm doing a recovery staking plan that calculates the next stake on settlement of the previous bet and places the next bet between 0 and 5 mins before the off. If the previous event finishes within 0 and 5 mins before the next event starts, I'm having trouble with the system not calculating the next stake before the next bet is placed so it places the same amount as the previous bet if it lost and then if the next bet wins, it resets to 0 for the loss pot so I'm losing money.
What's the best way to ensure the calculation has been completed before the next bet is placed, cheers?