Trade entry price not as expected #766
-
I am new to backtester.py and am trying out trade entries to see how they materialise, and currently they are not as expected. I wrote the following code: `
Note: Wf_Top is the blue lambda line on the chart in the pic below: My intention was for a sell trade to be entered above the blue line on the chart, however, the trade was entered well below the blue line, and also at a price point that doesn't even exist at the time the trade was entered (it is below any candlesticks). Grateful for any help with this. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I suppose you were unable to check the FAQ. It's got to do with |
Beta Was this translation helpful? Give feedback.
I suppose you were unable to check the FAQ.
It's got to do with
Backtest(..., commission=...)
. See e.g.: #633 #538