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 6

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.

Hello @gordon.konheiser ,

Thank you for your participation in the forum.

Is the reply below satisfactory in resolving your query?

If yes, please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

-AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS


1 Answer

· Write an Answer
Upvotes
Accepted
17.3k 82 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.