backtesting.py icon indicating copy to clipboard operation
backtesting.py copied to clipboard

:mag_right: :chart_with_upwards_trend: :snake: :moneybag: Backtest trading strategies in Python.

Results 231 backtesting.py issues
Sort by recently updated
recently updated
newest added

### Expected Behavior 3-4 buy trades indicated per year at the level they were bought at ### Actual Behavior ![bokeh_plot (6)](https://user-images.githubusercontent.com/9025286/168858009-bcaafac3-3311-4bbc-b4c5-91185d6435ae.png) ![bokeh_plot (7)](https://user-images.githubusercontent.com/9025286/168858215-e50420c8-52b4-423c-af14-56dd2b41984a.png) ### 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...

question

I am using the method `I` to plot MACD, but get the wrong style with histogram. Maybe need more style settings with the method.

enhancement

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

bug

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

enhancement

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

bug

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

bug