How to get timeseries OHLC price for forex using datastreamDSWS python api?

How to get timeseries OHLC price for forex using datastreamDSWS python api?

Best Answer

Answers

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @filip.shu

    I have used the Datastream Navigator to search for OHLC fields under the Exchange Rates. However, I am unable to find those fields. The available fields are:image

    Please directly contact the Refinitiv Datastream Web Service team via MyRefinitiv to verify if OHLC price for forex is available in the Datastream.

  • Thank you for your reply. For OHLC price, I mean the hourly open/high/low/close price for specific forex symbol such as USD to CAD, can you show me the code to do it with datastreamDSWS python library? I was able to access the data using eikon python library, but I would like to know how it can be done by datastreamDSWS.


    Sample codes and result using eikon python library:

    image