cinar / indicator

Indicator is a Golang module that provides a rich set of technical analysis indicators, strategies, and a framework for backtesting.
GNU Affero General Public License v3.0
524 stars 103 forks source link

Support for fee/commission as % when backtesting #227

Open ibyter opened 1 month ago

ibyter commented 1 month ago

Describe the solution you'd like Add a commission/fee as % when performing backtesting.

Almost all brokers charge a percentage fee on each executed trade which should be taken into account when calculating outcome

cinar commented 1 month ago

Thank you for the future request. Let me see if I can add this quickly.