API to request for prices

Options

May I know what are the different APIs we can use to request for prices? Could we specify a particular exchange to request prices from?

Tagged:

Best Answer

  • jason.ramchandani01
    Answer ✓

    @angelalock Thanks for your question -for real-time streaming prices its best to use the RD Library open_pricing_stream function which uses the Refinitiv Data Platform - you can use these with a desktop session. For snapshot pricing you can use the get_data function. For historical pricing ie timeseries - you can use the get_history function which also uses the Refinitiv Data Platform - again you can use these with a desktop session.

    If you launch the CODEBK app in Eikon you can see examples of both these API calls. See image below:

    1652090894053.png

    when requesting prices from a particular exchange you do this with RIC selection. So for example to get a snapshot of Vodafone in Johannesburg and London you can request:

    rd.get_data(['VODJ.J', 'VOD.L'])

    I hope this can help.

Answers