In Excel when asking for the starmine rank I don't need to supply any additional parameters.
In Codebook it ask me to supply fields or functions I don't understand in the first place why I need to supply additional information and second it is not clear to me what I need to supply then.
Please help me solve this!
See the comparison Python and Excel below:
Excel:
=TR("NVDA.O","TR.IVPriceToIntrinsicValueGlobalRank","CH=Fd RH=IN",B2)
see below also that the expected result is returned
CODEBOOK (Eikon):
import refinitiv.data as rd
rd.open_session()
print(rd.__version__)
print("-----------")
fields = ["TR.IVPriceTolntrinsicValueGlobalRank"]
EikonData = rd.eikon.get_data(instruments= "AAPL.O", fields= fields)
print(EikonData)
I get the following confusing error message:
'The formula must contain at least one field or function.'