hi
i'm wondering why new methods exposed under Lseg library (content 'symbol_convesrtion' and discovery side 'convert_symbols') there is no best_match option as were proposed by eikon function (get_symbology).
@Anass
Thank you for reaching out to us.
They are different services. The LSEG Data Library for Python uses the new endpoints to perform search and symbology lookup.
Based on my testing, the symbol_conversion option behaves similarly to best_match in that it returns a single entry per item, whereas the discovery search endpoint returns all entries that meet the search criteria.
However, you can raise this concern directly with the product team through LSEG Support. They may consider adding this feature in a future release.
dear @Jirapongse
both of methods (under content and discovery mthod) give response with best_match=True.
indeed, only one ric is retrieved (UNF), but using SRCH function, we have 47 matchs.
ld.content.symbol_conversion.Definition("US9047081040",from_symbol_type="ISIN",to_symbol_types="RIC").get_data().data.df DocumentTitle RIC US9047081040 UniFirst Corp, Ordinary Share, NYSE Consolidated UNF
ld.discovery.convert_symbols("US9047081040",from_symbol_type="ISIN",to_symbol_types="RIC") DocumentTitle RIC US9047081040 UniFirst Corp, Ordinary Share, NYSE Consolidated UNF