Multiple RICs for date range using RDP api

Is there a way to query for multiple RICs using the following rdp.get_historical_price_summaries? can we define the date range as well?

rdp.get_historical_price_summaries(
universe = 'VOD.L',
interval = rdp.Intervals.DAILY,
fields = ['BID','ASK','OPEN_PRC','HIGH_1','LOW_1','TRDPRC_1','NUM_MOVES','TRNOVR_UNS']
)
Tagged:

Best Answer

  • aramyan.h
    aramyan.h admin
    Answer ✓

    Hi @ehbok.khongshun ,


    Thank you for your question. You may specify start and end parameters in your request. However, I would suggest using our latest Refinitiv Data Libraries API, where you can specify multiple RICs and start/end dates. Here is an example:

    rd.get_history(
    universe = ['LSEG.L','VOD.L'],
    interval = 'daily',
    start = '2023-01-01',
    end = '2023-03-01',
    fields = ['BID','ASK','OPEN_PRC','HIGH_1','LOW_1','TRDPRC_1','NUM_MOVES','TRNOVR_UNS']
    )

    screenshot-2023-02-21-at-155452.png


    Hope this helps.


    Best regards,

    Haykaz


Answers