Working within the IDE, has anyone found a quick way to query the expiration date of a specific contract? For example, if I get the chain for TY, and then wanted the expiration date of the first and second dated contracts...
chain = data.current_chain(continuous_future('TY'))
front_dated = chain[0]
### Get expiration date of chain[0] here
second_dated = chain[1]
### Get expiration date of chain[1] here
Thanks