Hi Team,
I am looking to get python code to run in Code Book to get me historical RSI and Stochastic Values for currencies on a minute by minute basis for the last 2 years. Can you help on this please:
Thanks,
Leon
@LEONL
Thank you for reaching out to us.
I found an answer on this discussion.
This means that you need another library to calculate historical RSI and stochastic values, such as TA-Lib.
You can also refer to the methods mentioned in this Create Technical Analysis triggers and signals using the Eikon Data API article.
Instead of using Eikon Data API, you can use the LSEG Data Library for Python on CodeBook to get data. Please see the Upgrade from using Eikon Data API to the Data library article regarding migrating Eikon Data API to LSEG Data Library for Python.
The LSEG Data Library's examples are on CodeBook in the __Examples_/01. Data Retrieval and Discovery/01.01. LSEG Data Library folder.