the specail is the asset is MBS. And the field is all NDA_RAW.Nda =====
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
the specail is the asset is MBS. And the field is all NDA_RAW.Nda =====
Hi,
Thank you for your participation in the forum.
Are any of the replies below satisfactory in resolving your query?
If yes please click the 'Accept' text next to the most appropriate 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
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: