Exchange fees to open and close deals are included in the bot targets and safety order price calculations (including Grid bots). You can see your Take Profit order is slightly higher because of it.
If the exchange has some fee discount available, like on Binance with BNB, you will have slightly bigger profits than you see in the stats on 3Commas. The bot itself will benefit from the BNB fees to make faster and more profitable deals, but stats calculations are done without taking fee discounts into consideration.
The same is true with the Funding fees - these are not included in the Futures positions on 3Commas. Unfortunately, the funding fees are reported as a separate transaction on the exchange account that is not linked to the position or trade that was opened by 3Commas.