I don't think that Datastream WS supports hourly data. According to the Reference for DSService.svc - Enumerations page, the frequency supports the following values.
You may directly contact the Refinitiv Datastream Web Service team via MyRefinitiv for confirmation.
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:
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: