matthewgilbert / pdblp

pandas wrapper for Bloomberg Open API
MIT License
242 stars 67 forks source link

pulling field for multiple tickers returns results for only 4 tickers #18

Closed NoahKauffman closed 6 years ago

NoahKauffman commented 6 years ago
con = pdblp.BCon(debug=False, port=8194)
con.start()

ticker_list = [lots of tickers]
sd = datetime.datetime(2016, 1, 1, 0,0,0,0).strftime('%Y%m%d')
ed = str(datetime.datetime.today().strftime('%Y%m%d'))
cols = ['PX_VOLUME']
df = con.bdh( tickers, cols,sd,ed) 

Originally i tried pulling for say 100 or more tickers... However, when I paired it down to just 5 tickers, the result set still only returns results for the first 4 tickers in the list.

Am I supposed to override anything, like timeout or call some other function if i am requesting field(s) for an entire portfolio?

matthewgilbert commented 6 years ago

Could you show some reproducible sample output, it's impossible for me to diagnose currently. Specifically can you set debug to True and include that output in your question. Could you also show the list of your 5 tickers that are causing the problem and df.head()

NoahKauffman commented 6 years ago

sorry, nevermind. must have been something I was doing. Cannot recreate the issue any more.