Does the bot include an exchange's fee in the profit calculation?

Yes, when the take-profit price is calculated, it takes into consideration:

  • The take-profit value % (The amount of profit you want to get eventually);
  • An amount of extra orders executed (The take-profit gets recalculated each time another extra is executed);
  • A fee.

If it wasn't included, you would have a good chance to close your deal into the loss, because your profit would not cover the fee.