Bug info: when using -1 max open deal combined with ASAP on the backtest the bot opens a deal every 1 second while in paper and real account only 1 at the time.
[Optional] Steps to reproduce → simply create a new bot leave all the standard settings and set deal start condition ASAP and max open deals -1 (picture below) - then simply run a backtest you will see in the closed deals that the bot doesn’t wait for the previous deal to close before opening a new one but fires a new deal every second - this is the correct way even if ASAP it’s just unrealistic.
Expected result → When using -1 on real or paper the bot should open a new deal every time the condition is met NOT only 1 deal at the time. If we want to open only one deal we should put 1 not -1.
-1 should open a deal every second or every timeframe candle.
In all conditions except asap bot will open new deal every time condition is met. Also in ASAP with dynamic price filter.
Simple asap won’t open more than 1 deal simulatenously, no matter is it 2,3 or -1. However you will be able to open new deal manually. If you set max deals to 1, you won’t be able to open new deal manually.
Use -1 internal but name it max. I know for sure, that what you see at the surface hasn’t to be what you store in the database.
Make sure that we cannot select 2, 3, …, max, if only 1 is working.
If ASAP only opens 1 simultaneous deal per pair, maybe add a timeframe to allow more than 1 simultaneous deal so that we don’t have to use the RSI-7 1min > 1 hack.
right, I found the issue - stats doesn’t display the correct numbers
Look at this backtest comparison between the same bot one using -1 and one using 200 deals (even if the bot never reached that number ever) (Gainium app)
I think the wrong one is the one using 200 deals - if you look at the green curve (realised profit) the one using 200 deals is quite flat making me feel that something hasn’t been counted properly, also I’m using a very small budget per deal (around $150) but I’m not closing any deals under 2% that’s why I think the one using 200 deals with NET PROFIT of 0.06 is wrong
So the question why different %?
With -1 you dont have limit on balance, you can see on the chart that balances are different, different denominator used to calculate percents