We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Should allow to execute the strategy and allow the calculation in the final stats.
... bt = Backtest(df, Test, cash=1000, commission=.002) stats = bt.run() print(stats) ...
The text was updated successfully, but these errors were encountered:
Backtesting doesn't support fractional units. When the price is higher than starting cash, a warning is issued:
backtesting.py/backtesting/backtesting.py
Lines 1073 to 1077 in 267d99f
See #134 for a workaround to trade BTC.
Sorry, something went wrong.
No branches or pull requests
Expected Behavior
Should allow to execute the strategy and allow the calculation in the final stats.
Steps to Reproduce
...
bt = Backtest(df, Test, cash=1000, commission=.002)
stats = bt.run()
print(stats)
...
The text was updated successfully, but these errors were encountered: