question

Upvotes
Accepted
1 0 1 1

Consult the Interval field corresponding with the RIC code

I have some RIC codes of commodity prices, but I am not sure about the update frequency of these price releases. Could you please help me confirm their Inteval field information? e.g. GNT-RJK-SAUC,GNT-RJK-BAUC,CVO-SYB-IT,SOYB-ROS-BCR,LARD-LSE-CHG.

#technologyeikon-com-apiricsinterval
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hi, @wangshunyang

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar 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

1 Answer

· Write an Answer
Upvotes
Accepted
79.2k 251 52 74

@wangshunyang

Thanks for reaching out to us.

I assumed that you are using the Eikon COM API. If yes, you can use the GetViewList method to list all views and intervals of each RIC, as shown below.

  IViewListRequest viewRequest = timeSeries.GetViewList("GNT-RJK-SAUC",
                v =>
                {
                    foreach (View view in v)
                    {
                        List<string> intervalList = new List<string>();
                        foreach (Interval interval in view.Intervals)
                        {
                            intervalList.Add(interval.Type.ToString() + "(" + interval.Length + ")");
                        }
                        Console.WriteLine("View Name: {0} ({1}) => Intervals: {2}", view.Name, view.Flags.ToString(), String.Join(", ", intervalList.ToArray()));
                    }
                });

The output looks like this:

View Name: LAST_QUOTE (Default) => Intervals: Daily(1), Weekly(1), Monthly(1), Quarterly(1), Yearly(1)
View Name: NDA_RAW (Raw) => Intervals: Daily(1), Weekly(1), Monthly(1), Quarterly(1), Yearly(1)

I hope that this information is of help.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.