JECSand / yahoofinancials

A powerful financial data module used for pulling data from Yahoo Finance. This module can pull fundamental and technical data for stocks, indexes, currencies, cryptos, ETFs, Mutual Funds, U.S. Treasuries, and commodity futures.
https://pypi.python.org/pypi/yahoofinancials
MIT License
896 stars 214 forks source link

Futures expiry/settlement date missing #146

Open saitozturk opened 1 year ago

saitozturk commented 1 year ago

Hi, thanks everyone for this amazing project!

I noticed that the expiry date for futures is giving a '-' for a while. It is given under Settlement Date: https://finance.yahoo.com/quote/HGZ23.CMX

tckr = 'HGZ23.CMX'
yahoo = YahooFinancials(tckr)
summary = yahoo.get_summary_data()
summary[tckr]['expireDate']