e.g. AAPL.OQ rather than AAPL.O
THIS IS MY CODE. I'M USING CODEBOOK
ld.open_session()#US#tickers= list(Screener('U(IN(Equity(active,public,primary))/*UNV:Public*/), IN(TR.ExchangeCountryCode,"US"), IN(TR.GICSSectorCode,"10","15","20","25","30","35","40","45","50","55","60"), DOES_NOT_CONTAIN(TR.ExchangeCode,"PNK"), CURN=USD'))#HKtickers= list(Screener('U(IN(Equity(active,public,primary))/*UNV:Public*/), IN(TR.ExchangeCountryCode,"HK"), IN(TR.GICSSectorCode,"10","15","20","25","30","35","40","45","50","55","60"), CURN=USD'))print(f"Total tickers: {len(tickers)}")