how to get ohlc price data used in the charting when selected line type is candles?
e.g.
currently using refinitiv.data module in python
Hello @abc123
The get_history function call of the library will provide OHLC for most instruments. The rolling window can be specified as an interval parameter. If the OHLC data isn't provided by the underlying source, an app can calculate it based on the more granular tick data.
df.ohlc("5s")
See this example for the LD Library, get_history function.
Hi Gurpreet thanks. I am now getting and error when accessing the API
Initial i run the code setup and get this error, which i then rerun and works
Then i run the code to get the data and get an error
Your installation dependencies might be incorrect. Please see this discussion on the topic.