yfinance icon indicating copy to clipboard operation
yfinance copied to clipboard

How to get a specific options contract history data?

Open GF-Huang opened this issue 4 years ago • 1 comments

GF-Huang avatar Jul 09 '21 11:07 GF-Huang

Do you homework,

ticker = yf.Ticker('AAPL220520C00055000')
hist = ticker.history(peroid='max')

soulmachine avatar May 15 '22 07:05 soulmachine