@ab_trader said in How to execute a buy sell order in backtrader?:
ot the results, you might see that you buy at each bar when sma is more than close and sell at each bar when sma is less than close. This is not crossover strategy.
Yeah saw that mistake late. It seems this crossover strategy doesn't work with AAPL I tried a RSI method which seems to work.