Closed mmx5 closed 9 months ago
After 2 days it strangely works back just after couple of mins i opened this issue. so i'm closing the issue.
Why did you skip the first instruction? I'm genuinely asking, this is the real problem.
0.2.25 is not latest
Describe bug
can't recive options data of the stock. it returns empty list.
Simple code that reproduces your problem
import yfinance as yf import sys yf.enable_debug_mode()
print('run') print(sys.version)
s_ticker = '^XSP' ticker = yf.Ticker(s_ticker)
data = ticker.get_fast_info()
data = ticker.info
data = ticker.options print('**** OPTIONS DATES ^XSP *') print(data) print('**** END OPTIONS DATES ^XSP *') print(' ')
Debug log
run 3.10.0 (tags/v3.10.0:b494f59, Oct 4 2021, 19:00:18) [MSC v.1929 64 bit (AMD64)] **** OPTIONS DATES ^XSP * () **** END OPTIONS DATES ^XSP *
Bad data proof
No response
yfinance
version0.2.25
Python version
3.10.0
Operating system
win 10 22H2