Closed xinmans closed 2 days ago
when run below example code, failure(python3.11)
import ffn print(ffn.get('aapl:Open,aapl:High,aapl:Low,aapl:Close', start='2010-01-01', end='2014-01-01').head())
python3.11 a.py Failed to get ticker 'AAPL' reason: Expecting value: line 1 column 1 (char 0) [*********************100%%**********************] 1 of 1 completed 1 Failed download: ['AAPL']: YFTzMissingError('$%ticker%: possibly delisted; No timezone found') Failed to get ticker 'AAPL' reason: Expecting value: line 1 column 1 (char 0) [*********************100%%**********************] 1 of 1 completed 1 Failed download: ['AAPL']: YFTzMissingError('$%ticker%: possibly delisted; No timezone found') Failed to get ticker 'AAPL' reason: Expecting value: line 1 column 1 (char 0) [*********************100%%**********************] 1 of 1 completed 1 Failed download: ['AAPL']: YFTzMissingError('$%ticker%: possibly delisted; No timezone found') Failed to get ticker 'AAPL' reason: Expecting value: line 1 column 1 (char 0) [*********************100%%**********************] 1 of 1 completed 1 Failed download: ['AAPL']: YFTzMissingError('$%ticker%: possibly delisted; No timezone found') Empty DataFrame Columns: [aaplopen, aaplhigh, aapllow, aaplclose] Index: []
@xinmans this is probably clearly related to the library versions. Everything works for me: Python 3.12, pandas 2.2.2, numpy 2.1.1.
when run below example code, failure(python3.11)