QuantConnect / Lean

Lean Algorithmic Trading Engine by QuantConnect (Python, C#)
https://lean.io
Apache License 2.0
9.89k stars 3.28k forks source link

Add Backspread Option Strategies #8312

Closed LouisSzeto closed 1 month ago

LouisSzeto commented 2 months ago

Description

Add Call/Put Long/Short Backspread Option Strategies It is a combination of other option strategies, so no option definitions or margin model required

Margin

Related Issue

Motivation and Context

Requires Documentation Change

Option Strategies

How Has This Been Tested?

Unit tests (On definitions) Regression tests (for margin and option strategy combinations)

Types of changes

Checklist:

Martin-Molinero commented 2 months ago

Whops regression tests seem to be failing here @LouisSzeto

Martin-Molinero commented 2 months ago

Regression tests still failing @LouisSzeto 👀