-
Notifications
You must be signed in to change notification settings - Fork 31
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
Economics data #11
Comments
Hi, Unfortunately I could not help you here and perhaps you should ask Thomson Reuters service desk about the correct request format for fetching multiple economic indicators at once. The error which you see is coming from the Datastream server, and I'm confused as well, why the individual symbols are fetched correctly (Request: From another hand, if you need only ~10 indicators, then a simple loop is not a big problem at all:
p.s. If you set Best |
I'm closing this for now. |
There're some more context to the issue: #14 "P" here is considered as a mnemonic for API, when for economic series it does not exist. Instead you should request the datatype "ES" (Economic Series):
|
Hi,
I'm trying
DWE.fetch(["BHWDA347A","BHWDM8P5A"], date_from='2009', date_to='2016')
I get
DatastreamException: Failure (error 2): $$"ER", E100, INVALID CODE OR EXPRESSION ENTERED, BHWDM8P5A(P) --> "BHWDA347A,BHWDM8P5A
2009-01-01:2016-01-01~D"But i know that individually, it works well :
DWE.fetch(["BHWDA347A"], date_from='2009', date_to='2016')
DWE.fetch(["BHWDM8P5A"], date_from='2009', date_to='2016')
What am i doing wrong?
My goal:
I would like to do one request with a list of 10 series instead of looping 10 series on 10 rows (with for i in range(1,10)... I'm sure it will be faster with one single request
The text was updated successfully, but these errors were encountered: