Some brokers don't ask for a fixed commission but instead want a fee for every trade conducted. You can now add an order_fees parameter to the backtesting instance and the fees will show up in a new entry in the result.
if order_fees are not assigned nothing changes
if order_fees are assigned the final report will look like this:
...
Equity Final [$] (without fees) 30228.33435
Equity Final [$] 30172.33435
...
Some brokers don't ask for a fixed commission but instead want a fee for every trade conducted. You can now add an order_fees parameter to the backtesting instance and the fees will show up in a new entry in the result.
if order_fees are not assigned nothing changes
if order_fees are assigned the final report will look like this: ... Equity Final [$] (without fees) 30228.33435 Equity Final [$] 30172.33435 ...