Upgrade from Eikon -> Workspace. Learn about programming differences.

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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
23 4 3 7

Parsing IDataSetRecords C#

Hi I getting Historic Bars from the RDP api, the result that comes back are a list of DataSetRecord which has a Data property which holds the bars and a Fields property which holds the field names, is there an easy way to parses the DataSetRecords to a Bars object ?


1661513232014.png

rdp-apiparser
1661513232014.png (79.7 KiB)
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

· Write an Answer
Upvotes
Accepted
18.7k 85 39 63

Hi @gordon.konheiser

In addition to the List<IDataSetRecords>, you can also utilize the C# DataTable property. The DataTable is effectively a matrix of rows and columns of values. The IDataSetRecords is a simple data structure that is a breakdown of the raw data that is returned.

Hope this helps.

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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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