Lean
Lean copied to clipboard
0-Value Greeks For Contracts Expiring Today
Expected Behavior
Option contracts that expire on the current day in the backtest should have non-zero greek values when properly warmed up.
Actual Behavior
Option contracts that expire on the current day have 0-value greeks.
Potential Solution
Consider Ernest's recommendations on this discussion thread.
Reproducing the Problem
View the logs of this backtest.
System Information
Run in the browser QC terminal. Windows 10.
Checklist
- [x] I have completely filled out this template
- [x] I have confirmed that this issue exists on the current
masterbranch - [x] I have confirmed that this is not a duplicate issue by searching issues
- [x] I have provided detailed steps to reproduce the issue
Hi, looks like the non-0DTE options also have incorrect Greeks. For example their ATM options have Deltas very far from .50.
see backtest here: https://www.quantconnect.com/forum/discussion/10359/inaccurate-equity-option-expiry-time-and-incorrect-option-greeks