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

Tagged:

Best Answer

  • 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.