-
Notifications
You must be signed in to change notification settings - Fork 30
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
can't download several tickers with fetch #14
Comments
There's a slight ambiguity of what However it looks like further (I don't have a documentation to verify that), that when one requests several symbols, API will treat the So to retrieve the rates you need to supply proper datatype. For example for the mid-rate
or all three of them:
|
Thank you Vladimir. I'm not surprised to see inconsistencies in the API, to be honest ;-)
Is it possible-with the API-to see which datatypes (and description) are available for a given ticker? Or which is the default?
|
I'm not sure if it is possible via the API, however it is possible in the Datastream Navigator. If you log in with the same credentials as for the API (except for the username, which should be If you click on ">>" you'll see the longer list of datatypes for a specific ticker, which is though not always complete. In particular it does not contain static fields, and not all timeseries are listed as well. Further - on top line of the menu of the Datastream Navigator you could click on "Datatype search" and then select a proper asset class. Here you can see the complete list of datatypes. |
Some description is added to README. So I'm closing it for now |
I can't seem to be able to fetch several tickers at once with fetch. For instance
DWE.fetch(['EUDOLLR','USDOLLR'],date_from='2000',freq='D')
does not work. However, I can do it one by one as
DWE.fetch('EUDOLLR',date_from='2000',freq='D')
DWE.fetch('USDOLLR',date_from='2000',freq='D')
and both give the correct 'P' field. I tried
DWE.fetch(['EUDOLLR(P)','USDOLLR(P)'],date_from='2000',freq='D')
DWE.fetch(['EUDOLLR','USDOLLR'],fields=['P'],date_from='2000',freq='D')
but these do not work either.
Am I missing something?
The text was updated successfully, but these errors were encountered: