The following SCREENER call :
dfexch,e =ek.get_data('SCREEN(U(IN(Equity(active,public,countryprimaryquote))/*UNV:Public*/), IN(TR.ExchangeMarketIdCode,"XTAI"), IN(TR.InstrumentType,"Depository Receipts","Ordinary Shares"))',['TR.RIC','TR.CommonName', 'TR.ISIN','TR.InstrumentType', 'TR.TRBCEconomicSector', 'TR.TRBCEconSectorCode'])
Fails to return the following RICs - can someone enlighten me as to why? All RICS are Active, Public and Country Primary
['9136.TW', '9188.TW', '9110.TW', '9105.TW', '9157.TW', '9103.TW']
Thank you kindly,
You have a typo in your Screener expression. The value of TR.InstrumentType you're looking for is "Depositary Receipt" not "Depositary Receipts". All the instruments you listed as missing are depositary receipts and they were excluded from the results returned by the Screener because the value of TR.InstrumentType field for these instruments is not what you asked for in your Screener expression.