Tutorials
Tutorials copied to clipboard
Mistake in covered call option tutorial backtest
trafficstars
From community thread: https://www.quantconnect.com/forum/discussion/12504/covered-call-tutorial-mistake-quantconnect-com-tutorials-applied-options-covered-call/p1
The first embedded backtest was having a logic error on buying a covered call option instead of selling. The line
self.MarketOrder(self.call, 1)
should be
self.MarketOrder(self.call, -1)