question

Upvotes
Accepted
13 1 1 2

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 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvotes
Accepted
17k 80 39 63

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 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.