Hi
I am trying to get a list of all equities in the US - primary listings only - and excluding OTC stocks. Below is what I have now:
DB4 = rd.discovery.search(
view = rd.discovery.Views.EQUITY_QUOTES,
top = 10,
select="DTSubjectName,ExchangeName,RIC,MktCapCompanyUsd,ShareholdersEquityUsd,RCSIssuerCountryLeaf,RCSExchangeCountry,SearchAllCategoryv3,SearchAllCategoryv2,SearchAllCategory,RCSAssetCategory,RCSCurrencyLeaf,AssetState,IssueISIN,IsPrimaryInstrument,PrimaryQuote,PrimaryRIC,Primary",
filter = "( SearchAllCategoryv2 eq 'Equities' and RCSExchangeCountry eq 'G:6J' and ExchangeName ne 'US ''Other OTC'' and Grey Market')")
How can I add the filter for primary listings only?
Where can I find a list of RCSExchangeCountry codes?
Where can I see a list of fields I can use in select?
Thank you