yfinance
yfinance copied to clipboard
How to get a specific options contract history data?
Do you homework,
ticker = yf.Ticker('AAPL220520C00055000')
hist = ticker.history(peroid='max')