What is the corresponding RIC for the page "TRESORTEC10" to fetch all the date and corresponding ...

What is the corresponding RIC for the page "TRESORTEC10" to fetch all the date and corresponding values in .Net? When I use the RIC "TRESORTEC10=AFTP", it fetches only 5 values. How to fetch the full list of date and values?
Tagged:

Best Answer

  • nick.zincone
    nick.zincone admin
    Answer ✓

    Hi @rathi.r

    To retrieve your data in .Net using the Data Library for .Net, I would follow these steps:

    1. Download the .Net Example package from GitHub
    2. To test against your desktop (Workspace or Eikon), you can:
      • Open the Session.cs file and change to: SessionTypeEnum.DESKTOP
      • Refer to Quick Start for more details
    3. Try this historical Pricing example to make sure you can retrieve data

    If you have succeeded in the above steps, you should be able to do this:

     var data = Summaries.Definition("TRESORTEC10=AFTP").Interval(Summaries.Interval.P1D)
    .Fields("TRDPRC_1")
    .Start("2024-02-01")
    .End("2024-02-23")
    .GetData();

    Common.DisplayTable("Your data", data);

    1708694581419.png

Answers