Hello Support,
I would like to fetch minute candles using TRTH REST API. Can i get the response as JSON?
If it doesn't return as JSON then I have to parse the data manually. So kindly send me some work around solution.
Thanks in advance.
For a deeper look into our DataScope Select SOAP API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials
Hello Support,
I would like to fetch minute candles using TRTH REST API. Can i get the response as JSON?
If it doesn't return as JSON then I have to parse the data manually. So kindly send me some work around solution.
Thanks in advance.
@ziaul The response format for almost all REST API data calls is CSV format. JSON is not feasible, since some of the downloads can be couple of gigabytes in size.
It is relatively trivial to parse the CSV data in .NET. You can either use Microsoft.VisualBasic.FileIO.TextFieldParser library or third party easy to use libraries for this.