Hi All,

I am trying to iterate through every symbol present in the 'data': Data(TradeBars data) object.

Could someone please post an example code of how I can retrieve the symbol/ticker names from this object in the form of a string?


To elaborate I have tried (note the count of the data object is greater then 2):

data.Keys[0]

But this returns error:

Cannot apply indexing with [] to an expression of type 'ICollection<Symbol>'

 

Cheers