backtesting.py
backtesting.py copied to clipboard
:mag_right: :chart_with_upwards_trend: :snake: :moneybag: Backtest trading strategies in Python.
### Expected Behavior 3-4 buy trades indicated per year at the level they were bought at ### Actual Behavior   ### Steps to Reproduce ```python from backtesting...
As the title says: is it possible to plot horizontal lines? Seems like docs don't mention anything about it, and I have seen `_plotting.py` and I don't think it would...
I am using the method `I` to plot MACD, but get the wrong style with histogram. Maybe need more style settings with the method.
added an option `histogram=True` for `I()` function. it plots histogram using `vbar` function of bokeh js. Fixes https://github.com/kernc/backtesting.py/issues/195
This error start appearing a day ago when I was testing several strategies. I didnt changed anything in my codes before this happened. The backtest doesnt continue and and the...
### Expected Behavior able to set commission in dollars, disregard percentage. Some instruments I know (futures for example) has a fixed commission per trade, instead of percentage, there should be...
Fixes https://github.com/kernc/backtesting.py/issues/382
### Expected Behavior When I pass too big dataframe and the system tries to resample it I have the error in the next screenshot ### Actual Behavior I think the...
Fixes https://github.com/kernc/backtesting.py/issues/343
Hi, first I want to thank you for this library which is cool and easy to use. ### Expected Behavior I would like to run an optimization to get the...