-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option Strategy: Jelly Roll & Ladder #8092
Option Strategy: Jelly Roll & Ladder #8092
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool! Leaving a few requests 👍
Common/Securities/Option/StrategyMatcher/OptionStrategyDefinitions.cs
Outdated
Show resolved
Hide resolved
Common/Securities/Option/StrategyMatcher/OptionStrategyDefinitions.cs
Outdated
Show resolved
Hide resolved
Common/Securities/Option/OptionStrategyPositionGroupBuyingPowerModel.cs
Outdated
Show resolved
Hide resolved
Mind sharing where the option strategy definitions were sourced from, given they are not in the core IB list |
Please rebase from master, the regression test interface was changed & a unit test CI bug was shipped |
I've updated the description now 😄 |
Common/Securities/Option/OptionStrategyPositionGroupBuyingPowerModel.cs
Outdated
Show resolved
Hide resolved
/// </summary> | ||
/// <param name="canonicalOption">Option symbol</param> | ||
/// <param name="higherStrike">The strike price of the long put</param> | ||
/// <param name="middleStrike">The strike price of the short put with higher strike price</param> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docs are off, same for the rest, please re review all 🙏
The "middle strike" instead of "with higher/lower" to match the parameter description with name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you 👍
Description
Add new abstraction helper method and universe filter for option strategy Long/Short Jelly Roll, Bear/Bull Call/Put Ladder
Definition:
Jelly Roll
https://fincyclopedia.net/derivatives/l/long-jelly-roll
https://www.sec.gov/files/rules/sro/phlx/2022/34-94293-ex5.pdf
Ladder:
https://en.wikipedia.org/wiki/Ladder_(option_combination)
https://zerodha.com/varsity/chapter/bear-call-ladder/
https://www.investopedia.com/terms/l/ladderoption.asp
margin requirement from IB:
Long Jelly Roll
Short Jelly Roll
Bear Call Ladder
Bear Put Ladder
Bull Call Ladder
Bull Put Ladder
Related Issue
Motivation and Context
no helper method for them
Requires Documentation Change
Add new section in Option Strategy
How Has This Been Tested?
Types of changes
Checklist:
bug-<issue#>-<description>
orfeature-<issue#>-<description>