-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
Hey!
First of all thank you for your amazing work! This library is 10/10!
My questions is, is that possible to somehow change the buy and open prices?
When I am live trading, my strategy takes some time to calculate all the indicators, and buying and selling usually doesn't happen on close/next open prices. Sometimes this loading process can take up to 2 minutes. Under those 2 minutes the prices can change significantly.
I already wrote my own really simple backtesting function which uses a "worst case scenario". So buy happens on next high, and sell happens on next low. But your library is so much cooler, and I love the visualization. Would it be possible to somehow set these custom prices in backtesting.py?
Thank you and have a nice day!
szucsaaron