Skip to content
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

Select Option Contracts Based on Greeks #1518

Closed
jaredbroad opened this issue Jan 31, 2018 · 13 comments
Closed

Select Option Contracts Based on Greeks #1518

jaredbroad opened this issue Jan 31, 2018 · 13 comments
Assignees
Labels

Comments

@jaredbroad
Copy link
Member

Option universe selection selects on price, strikes etc now but Valery requests Option Contracts selected on Greeks / Implied Volatility. Currently these are calculated in inline -- so we don't have them available at universe selection time.

@isobretatel
Copy link

Select option contracts by Open Interest, Volume.

@nkabram
Copy link

nkabram commented Jan 2, 2021

I'd also like to see support for this. Any update?

@ikamanu
Copy link

ikamanu commented Jan 15, 2021

+1 to this.
Any progress?

@kbsaravana
Copy link

+1 on this

@kfeldspar
Copy link

+1 on this too

@YukaLangbuana
Copy link

+1 on this also. How's the progress?

@mattmcwaters
Copy link

+1!

@rjmig88
Copy link

rjmig88 commented May 3, 2022

Any update on this? Running option strategies on many securities is quite slow as I want to trade a specific delta, or a specific premium, which OptionChainProvider doesn't easily allow for.

For instance, the strikes can expand greatly in high vol/high vix eras, for instance today the $0.50 SPX put expiring in two days was the 3,500 strike with SPX trading around 4155. The market was selling these deep puts for that much premium and there would be no way I'd guess I'd have to go that deep for a $0.50 put were I to use OptionChainProvider to optimize and speed things up.

@rafael-trevisan
Copy link

Looking forward to seeing this :)

@jaredbroad
Copy link
Member Author

Plan is:

  • Standardize options and futures to use universe data files like the rest of LEAN(Create Future & Option Universe Files #6861)
  • Create the options universe files with the greeks precalculated and passed in as part of their filtering options.
  • Calculation of daily options universe as a LEAN Data stack job.

It's a heavy project and will require gutting thousands of lines of code but will dramatically standardize the internals of LEAN universes which is very exciting.

@jaredbroad
Copy link
Member Author

Side effects of the plan:

  • Filtering will be every day instead of every minute, but it's too much churn and noise for most people so we don't think people will care really. Anyone impacted can just set a wider strike range.
  • Much faster options backtesting.

@dennis-yemelyanov
Copy link
Contributor

With daily refresh will it be possible to say "at 11AM, buy the option contract that currently has delta = 0.2"?

I think it's a common scenario to find an option by delta at current moment. Delta can change dramatically intraday, especially if the option is approaching expiration, so the delta value from the beginning of the day might not be very useful in such cases

@Martin-Molinero
Copy link
Member

Equity and index options can be selected based on greeks, creating new issue to track this functionality for FOPs #8438

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests