How to get SectorID and IndustryID of a foreign ticker

Is there a way to get SectorID, IndustryID, GicsID, MarketID, and GroupID for a foreign ticker without the use of SetForeign()? The reason I ask is that GetFnDataForeign() doesn't support these fields.

I am not aware of the AFL function that return various IDs with ticker symbol. However, using CategoryGetSymbols function will return a comma separate string of ticker symbols for each index.
AFL Function Reference - CATEGORYGETSYMBOLS (amibroker.com)
With the list of ticker symbol, use either StrFind or StrMatch function to determine which IDs that a particular ticker symbol belongs.

Also you can get those using OLE AmiBroker Object Model

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.