-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ref
does not return all tickers all of the time
#80
Comments
This seems odd. Are you able to reproduce this issue when you make the call directly via |
I haven't had a chance to code it up with the Have you been able to reproduce? I'm wondering if it is something to do with the timeouts. I get no timeout errors with the tia code (I assume they're handling them internally). I have been experiencing an odd issue with multithreading and timeouts as well. I have a bunch of threads with their own queues (they're actually actors from pykka). Each one has it's own I haven't been able to boil this down to a simple code example to reproduce - it could very well be in my logic (although after a few hours I don't see the problem). I just thought I would mention it in case it would trigger something in your mind to help identify the original issue. |
The output I posted is from the final iteration of the while loop. It ran successfully 104 times before that. |
Hmm, okay from the sounds of it possibly the default This library doesn't use a seperate blpapi.EventQueue() for each request so this type of in parallel requesting could be problematic and is a use case I haven't really used / tested for. It would definitely make sense to change the |
When I repeatedly call for a fields on a list of tickers with
ref
, I occasionally get back an incomplete dataframe i.e. values for some tickers did not get returned.Code sample and debug output below.
I am running with my session connected to local terminal, and with
pdblp
version 0.1.8Debug output
The text was updated successfully, but these errors were encountered: