hi,
I am using the trigger found in
solutions/staking-plans/over-under-martingale/
I want the bot include the total liability loss from the previous bets.
for Over 1.5 it should lay the amount = Init_bet + liability lost from OU0.5 then
for Over 2.5 it should lay the amount = Init_bet + (liability lost from OU1.5 + liability lost from OU0.5)
for Over 3.5 it should lay the amount = Init_bet + (liability lost from OU2.5 + liability lost
from OU1.5 + liability lost from OU0.5)
The formula below
(init_bet - (ou0_market_parent_id_1_profit_loss + ou1_market_parent_id_1_profit_loss))/(1-commission)
is correct but it never works in my bot.
My bot lays the Init_bet for OU0.5 then for all OU1.5, OU2.5, OU3.5, OU4.5 and so on it lays the same amount of (Init_bet)/(1-commission)
I need help, what kind of program should I implement that the bot lays the amounts correctly. Or should I change some settings?
Thank you for your help.