On the "Report" page, does the "Profit" value reflect solely the bot's trading performance, or is it also influenced by fluctuations in cryptocurrency prices?

At the start of trading, I had $94 on my exchange balance. The bot traded for several days and shows a profit of +$13. In theory, the final balance should be $107 ($94 + $13), but I only see $103 on my balance.

The question arises: where does the difference of $4 come from? Perhaps this is due to exchange commissions, or the bot could close some trades with a loss. I would like to understand what exactly this imbalance affected.