For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
9 0 1 4

Trouble getting Economic data using .NET API

Hello,

I am trying to get the data for symbol "aUSASSTOT" through the .NET API but I am not getting any value when I use the ToBarRecord. Here are the options I am using:

timeSeriesRequestSetup.WithView('ECONOMIC'). I have also tried putting nothing

ThomsonReuters.Desktop.SDK.DataAccess.TimeSeries.CommonInterval.Weekly

timeSeriesRequestSetup.WithNumberOfPoints(50)

records.Current.ToBarRecord();

How can I get this data? I can get it using Python API but I d rather do it with .NET if possible

eikoneikon-data-apipythonworkspaceworkspace-data-apirefinitiv-dataplatform-eikoneconomic-data
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Upvotes
Accepted
39.3k 76 11 27

ToBarRecords method can only be used with views that contain Open, High, Low, Close fields. To see how to extract data from records that cannot be returned as bars see the following thread.

https://community.developers.refinitiv.com/questions/38969/how-can-i-extend-the-ibardata-in-foreach-ibardata.html

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.