Bug info:
The image shows a deal in a Trading Bot. The deal starts with 100 USDT and has a profit of 0.602 USDT. By my calculations that’s about 0.6% profit. Though the profit percentage is given as 0.4%. Have I missed something?
Thanks!
Bug info:
The image shows a deal in a Trading Bot. The deal starts with 100 USDT and has a profit of 0.602 USDT. By my calculations that’s about 0.6% profit. Though the profit percentage is given as 0.4%. Have I missed something?
Thanks!
The fees? But isn’t the deviation between the entry and close price even around 1%?
This bot buys on a 1% deviation down from previous deal start. The take profits are split 50/50 at 0.6 and 1.0%. This makes a profit on a closed deal of 0.8%. Reduce this by fees of 0.2%. The result is 0.6%.
Interestingly, I could have my details wrong because it is weekend and party time here in NZ, but backtesting gives a 0.8% profit per deal, rather than the live bot that gives 0.4% profit. It seems to me that both bot types are out by plus-or-minus 0.2%.
I don’t really know, but would appreciate some clarity in my mind
I see. So you sold half of your ETH at $2955.91
and the rest at $2970.67
. Than indeed the resulting take profit percentage should be $100 * 0.8% = $0.8
minus fees of ($100 + $50 * 100.6% + $50 * 101%) * 0.1% = $0.2008
. The $0.602
as gain from the initial $100
looks okay, but the 0.4%
doesn’t. It should be 0.6%
. Did you make sure to configure fees for backtesting? Otherwise that could explain why the backtests give you 0.8%
.
Yes, the fees were set at 0.1 in the backtest. The figure shows an example of a backtest deal. Interestingly, the P&L is 0.8 USDT. This would be a 0.8% profit. So, perhaps the P&L is incorrect in this case. It should be 0.6 USDT as per the live bot.
The issue has been fixed, you can check again.
The live bot now shows 0.6%. However, the backtest of the same setup still shows 0.8% profit per deal.
fixed, it will be deployed tonight.