Is it possible to extract data like RSI and MACD values for a product? If yes, what is the list of p

Is it possible to extract data like RSI and MACD values for a product? If yes, what is the list of products it is possible for?

Best Answer

  • raksina.samasiri
    Answer ✓

    Yes, it's possible to extract RSI and MACD values for a product, and they should be available for all products as they're the standard analysis fields.

    below is an example to extract these values

    import eikon as ek ek.set_app_key("xxxxxxxxxxxxxxxxxxxxxxxxxxx") macd_rsi, err = ek.get_data(["FB.O","AMZN.O","AAPL.O","NFLX.O","GOOG.O"],                            ["TR.MovAvgCDLine1.date","TR.MovAvgCDLine1","TR.MovAvgCDLine2","TR.MovAvgCDSignal","TR.RSISimple14D","TR.RSIExp14D","TR.RSIWilder14D","TR.RSISimple30D","TR.RSIExp30D","TR.RSIWilder30D","TR.RSISimple9D","TR.RSIExp9D","TR.RSIWilder9D","TR.RSISimple3D","TR.RSIExp3D","TR.RSIWilder3D","RSI_14","RSI_30","RSI_7"])macd_rsi

    To see each field's description, Eikon Data Item Browser can be used.

    11635-1628842645440.png