Sometimes the API returns bestMatch and other times it does not.
Is there any API additional developer documentation that explains when/why the bestMatch would fail?
Find Python lookup here:
symbol = ek.get_symbology(ticker, from_symbol_type="ticker", to_symbol_type="RIC", raw_output=True, debug=True, best_match=False)
print(symbol) => {'mappedSymbols': [{'RICs': ['AAPL.O', 'AAPL1.AS', 'AAPL.OQ', 'AAPL.DG', ...], 'bestMatch': {'error': 'No best match available'}, 'symbol': 'AAPL'}]}
searching BAC ticker
print(symbol) => {'mappedSymbols': [{'RICs': ['BAC', 'CAMS.SI', 'BAC.CD', 'BAC.N', 'BAC.TH', ...], 'bestMatch': {'RIC': 'BAC'}, 'symbol': 'BAC'}]}
I will be looking up many symbols that might not be NASDAQ or NYSE so it would help to know the rules so I can code properly.