You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importpybbgfromdatetimeimportdatetime, date, timeimportpandasaspdbbg=pybbg.Pybbg()
bbg.service_refData()
bds_data=bbg.bds('AAPL US Equity', 'DVD_HIST_ALL')
Trying to retrieve bulk static data with the 'bds()' function. It works fine on a ticker like MSFT US Equity but doesn't work for AAPL US Equity and returns the following error:
Tried this in Excel to see what the data actually looks like - pulled up AAPL and compared versus MSFT. My guess is on Ex-Date 2/13/1996 where I'm guessing the dividend was suspended when they were having trouble - and the Record Date, Payable Date, and Dividend Amount fields are blank (null).
I tried to pull div history for 129 names and got the exception on 25 of them. I think we need to catch the IndexOutOfRangeException on line 325. I'll test it on my local version.
Trying to retrieve bulk static data with the 'bds()' function. It works fine on a ticker like MSFT US Equity but doesn't work for AAPL US Equity and returns the following error:
Works fine for other tickers like GE, IBM... not sure where to start with this one...
The text was updated successfully, but these errors were encountered: