Skip to content

Mistake in covered call option tutorial backtest #360

@LouisSzeto

Description

@LouisSzeto

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions