Yes, typically, AI agents for trading should include exchange’s fees in their profit calculations. This is because exchange fees are a part of the cost of trading and directly impact the net profit or loss from each trade.
When the AI agent opens a position, it needs to overcome the exchange fee to start generating profit. For example, if the exchange fee is 0.1%, the price of the asset needs to increase more than 0.1% for a long position (or decrease more than 0.1% for a short position) to become profitable.
By including these fees in the profit calculation, the AI agent provides a more realistic view of the net returns from trading. However, the exact way these fees are handled can vary depending on the specific AI agent and the platform it’s operating on.
Therefore, it’s important to understand how your AI agent calculates profits and to factor in all potential costs (including exchange fees) when assessing your trading strategy. As always, remember that all trading involves risks, and you should only invest what you can afford to lose.