Note that Initial balance (-0,37%), Current balance (-0,39%), Notational value (-0,37%), and Size (-0,98%) all are decreasing with every trade from 2025-06-08 15.37 to 2025-06-10 12.27
Back test during the same time period: Gainium app
Back test deal list:
Note that in this back test Equity increased with every trade and the number of base coins went from 5,37 to 35,4, which is a 6,6 times increase!
We have received your bug report regarding the discrepancy between backtest and real-life trading results. Thank you for providing the bot URL: https://app.gainium.io/bot/68459b41e0667d7d7603af81. We will investigate the issue and provide an update shortly.
You are using % of free asset as order size. So the absolute value is different, but the relative is simillar 2.38% to 2.29%
Also a bit different start prices, because of indicator trigger in real bot and backtest, therefore TP (as percentage) could be triggered in a bit different times.
No. All my bots work on separate subaccounts. I run several (25+) copies of the same bot working with different currencies on separate exchanges, and all of them shows the same problem.
It looks like value changed due to fee paid in USDC and rounding.
Backtest more simplified, it use fee to calculate order size, price, etc, deal pnl, but doesn’t subtract fee from balance. Balance in backtest is only changed with profit or loss, so USDC value is stable.
You have profit in base, but order size as quote ref, and quote amount will be reduce with each deal. We have a fee factor to overcome fee when calculating profit, but we do not do rebalancing.