Lean
Lean copied to clipboard
Incorrect NQ Contract
Expected Behavior
Future chain with correct contracts
Actual Behavior
The June (M) contract expires on the 18th:
Future Chain uses the 19th.
Potential Solution
Juneteenth 2026
Reproducing the Problem
qb = QuantBook()
chain = qb.future_chain(qb.add_future("NQ"))
chain.data_frame
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