Skip to content

Commit

Permalink
Update 98 Examples.html
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekMelchin authored Feb 7, 2024
1 parent 1b65edb commit 5f8b2ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h4>Buying Options Spreads</h4>
<p>
<a href='https://www.quantconnect.com/terminal/processCache?request=embedded_backtest_3d2920567b2b84786eef6ef1837b8457.html'>This algorithm</a> demonstrates that when you long and short two Option contracts at the same time, they combine together to reduce your margin usage.
In the following image, the blue area represents a short position in a call Option contract and the gray area represents a long position in a call Option contract.
The algorithm forms a <a href='/docs/v2/writing-algorithms/trading-and-orders/option-strategies/bear-call-spread'>bear call spread</a> one leg at a time, shorting an in-the-money contract on 02/06/2023 and then longing an out-of-the-money contract on 02/13/2023.
The algorithm forms a <a href='/docs/v2/writing-algorithms/trading-and-orders/option-strategies/bear-call-spread'>bear call spread</a> one leg at a time, shorting an in-the-money contract on 02/03/2023 and then longing an out-of-the-money contract on 02/14/2023.
</p>
<img src='https://cdn.quantconnect.com/i/tu/portfolio-margin-bear-call-spread-example-1.png' class='docs-image' alt='Portfolio margin chart of stepping into a bear class spread on leg at a time'>

Expand Down

0 comments on commit 5f8b2ac

Please sign in to comment.