Can codes be used in Rics or tickers?
@sajid.i
Thank you for reaching out to us.
Please specify which methods or code. You can direclty test it with tickers. Moreover, the behaviour should be similar to the functions in Eikon Excel or Workspace Excel.
Typically, APIs provide methods to convert ticker to RICs. For example the Refinitiv Data Library for Python provide the symbol_conversion endpoint to convert symbologies.
response = symbol_conversion.Definition( symbols=["PTT"], from_symbol_type=symbol_conversion.SymbolTypes.TICKER_SYMBOL, to_symbol_types=[ symbol_conversion.SymbolTypes.RIC ],).get_data()response.data.df
The output is: