You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, the trade is entered on next candlebar's open price (think of it as placing a trade during the night when the exchange is closed). If you run Backtest(..., trade_on_close=True), the trade will be entered on the current bar's closing price (think of it as placing the order a few seconds before the exchange closes).
If you place a limit order, the order will be executed when the price eventually reaches the exact set price level (e.g. when it dives to its next day's low price).
With #47 merged and v0.2.0 released, you can use Strategy.buy(..., stop=stop_price) to issue a stop-market order, entering trade on "next bar's High". 👍
How to add Alteration of Entry/Exit Points.(Instead of Entry at close I want entry be based on next candle's Open/High/Low/Close)
The text was updated successfully, but these errors were encountered: