Hi there, I use backtesting.py for my project. I want to adjust Buy/Sell price by rolling average of Open/Close price, with conditional: new Buy/Sell price in range of High/Low price. How can I do it ?
Actual Behavior
Maybe I can make a new Open price column in Pandas that is calculated by rolling average of actual Open price. Then I run backtesting.py with that. But my candlestick sticks chart look like wrong. I also research about Order class to find other solution.
Expected Behavior
Hi there, I use backtesting.py for my project. I want to adjust Buy/Sell price by rolling average of Open/Close price, with conditional: new Buy/Sell price in range of High/Low price. How can I do it ?
Actual Behavior
Maybe I can make a new Open price column in Pandas that is calculated by rolling average of actual Open price. Then I run backtesting.py with that. But my candlestick sticks chart look like wrong. I also research about Order class to find other solution.
Additional info
bokeh.__version__
: 3.2.0