Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Slow Symbols execution

I am trying to load an external CSV having Ticker-Value pair into Quantopian. Tickers have to match with Quantopian SID.

However, I tried multiple approaches and none seems working.

In Research, I tried to use Symbols([ticker list]) to get the list of SIDs. However my ticker list contain items that does not present in quantopian database. The returned list does not contain information about non-exist tickers. For example, when I feed in ["IBM","No Such Ticker","APPL"], the function will return a list containing only 2 SIDs, so I cannot match with the original input ticker list.

I tried to iterate through the list and call Symbols(Ticker) one by one, but the execution is far tooooo slow to be acceptable (only several tickers matched each minute). I have >100000 ticker-value pair to match.

I tried to call SID or Symbols in IDE but of course that's blocked.

Would you please suggest a way for me to do this? I guess quantopian probably should also improve Symbols() implementation to add NaN value for unmatched ticker to make input and output ticker list length to match.