the specail is the asset is MBS. And the field is all NDA_RAW.Nda =====
Hi @huachong.li
You have to use .NET API.
You can follow this .NET API tutorial.
Here is the sample request code:
request = timeSeries.SetupDataRequest("31283H5T8=RRPS") .WithView("NDA_RAW") .WithAllFields() .WithInterval(CommonInterval.Daily) .WithNumberOfPoints(10) .OnDataReceived(DataReceivedCallback) .OnStatusUpdated(StatusUpdatedCallback) .CreateAndSend();
Here is the sample DataReceivedCallback code:
foreach (IData data in chunk.Records.ToList()) { object closeObject; DateTime? date = null; double? ask = null; if (data.TryGetValue("NDA_DATE", out closeObject)) date = (DateTime)closeObject; if (data.TryGetValue("NDA_ASK_PRICE", out closeObject)) ask = (double)closeObject; Console.WriteLine(date + " " + ask); }
This is the output: