-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Labels
Description
Expected Behavior
Correct expiration date.
ZNZ5 is ZN21Z25
https://www.cmegroup.com/markets/interest-rates/us-treasury/10-year-us-treasury-note.calendar.html
Actual Behavior
ZNZ5 is ZN22Z25
In live mode with IB:
Live Handled Error: Brokerage Warning: No security definition has been found for the request. Origin: [Id=11] GetContractDetails: ZN22Z25 (FUT ZN USD
�Вот)
Potential Solution
Review date definition/holidays.
Reproducing the Problem
qb = QuantBook()
f = qb.add_future('ZN')
qb.future_chain(f.symbol, flatten=True).data_frame

Checklist
- I have completely filled out this template
- I have confirmed that this issue exists on the current
master
branch - I have confirmed that this is not a duplicate issue by searching issues
- I have provided detailed steps to reproduce the issue