question

Upvotes
Accepted
11 1 0 0

Multiple Rics in universe parameter

Hi,

I am using the following code to get historical rates for USD OIS Swaps.

OIS = rdp.get_historical_price_summaries(universe = 'USD1YOIS=',

start = "2005-12-31",

end = "2021-03-17",

interval = rdp.Intervals.DAILY,

fields = ['MID_PRICE'])


THis works fine. However I am having troubles if I add some other RICs to the universe parameter.

If I write:

universe = ['USD1YOIS=','USD2YOIS=']

it doesn't work anymore. Can you guys help me out?

Thanks!

rdp-apirefinitiv-data-platform
icon clock
10 |1500

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

1 Answer

Upvotes
Accepted
9.7k 49 38 60

Hi @andrgome,

The rdp.get_historical_price_summaries() API call is built on top of the RDP Historical Pricing service which today only supports a single item defined within the Universe.

icon clock
10 |1500

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

Click below to post an Idea Post Idea