Fetching datastream datatype

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Jason, EViews Steve, EViews Moderator

Posts: 13
Joined: Mon Nov 27, 2017 7:18 am

Fetching datastream datatype

Postby leocaza » Sun Nov 18, 2018 9:52 am


I really need to get datastream datatype with the "fetch" function.

This kind of information is easy to get from the "fetch" bloomberg function, but it doesn't seem to work with datastream (maybe my syntax is wrong).

I need the last historical date from series that include forecast (oxford datastream series). Normally, to do so, I try to get the first forecast date with the datatype "DS.FIRSTFOR" from datastream.

Fetch(d=datastream) UKXTOT..R(DS.Firstfor)
Fetch(d=datastream) UKXTOT..R~DS.Firstfor

There is no way to get the datatype with this syntax.

Without the first forecast date, Eviews will automaticly import all the series from the first point to the last forecast date. This is not what I want. All i want is the historical part (without forecast).

Can you help me please?

I know that it is possible to call datatype from the API on python. There is no reason that we can't do it on eviews (its calling the API too...).

Thank you.

EViews Jason
EViews Developer
Posts: 763
Joined: Tue Sep 16, 2008 3:50 pm

Re: Fetching datastream datatype

Postby EViews Jason » Tue Nov 20, 2018 11:36 am

We have reached out to our contacts at Datastream. We will report back as soon as we hear back from them.

Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 6 guests