ValueRaider / yfinance-cache

Caching wrapper for yfinance module. Intelligent caching, not dumb caching of web requests.
MIT License
22 stars 9 forks source link

Exception: RCI-B.TO: interval = 31 doesn't fit standard intervals #54

Closed ValueRaider closed 2 months ago

ValueRaider commented 2 months ago
import yfinance_cache as yfc
dat = yfc.Ticker('RCI-B.TO')
dat.get_release_dates(check=True)

Exception: RCI-B.TO: interval = 31 doesn't fit standard intervals

ValueRaider commented 2 months ago

Cause is a nonsense date in quarterly financials:

>>> dat.quarterly_incomestmt.columns
DatetimeIndex(['2023-12-31', '2023-09-30', '2023-06-30', '2023-03-31',
               '2023-02-28'],
              dtype='datetime64[ns]', freq=None)

SEDAR doesn't have anything for 2023-02-28