Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Order Fees #1119

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added Order Fees #1119

wants to merge 1 commit into from

Conversation

RP1-MVac
Copy link

@RP1-MVac RP1-MVac commented Feb 27, 2024

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
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant