Hi,
I was wondering if it's possible to get a single live value from Bloomberg. Currently, using "fetch" I would get the whole time series.
Bloomberg Live Price/Value
Moderators: EViews Gareth, EViews Jason, EViews Steve, EViews Moderator
-
- EViews Developer
- Posts: 870
- Joined: Tue Sep 16, 2008 3:50 pm
Re: Bloomberg Live Price/Value
Unfortunately you have to fetch the entire series.
You could fetch the series, set the sample to 1 observation, and then create a series equal to the fetched series. This will create a series with one value
Alternatively, you can create a scalar equal to the single value
You could fetch the series, set the sample to 1 observation, and then create a series equal to the fetched series. This will create a series with one value
Code: Select all
fetch abc
smpl 1970 1970
series x = abc
Alternatively, you can create a scalar equal to the single value
Code: Select all
fetch abc
scalar y = @elem(abc,"1970")
Who is online
Users browsing this forum: No registered users and 30 guests