Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Momentum stock filter

I have a list of stocks with targets (goo.gl/vHWPa2). Is there something similar with the ones that hit their target within 3 to 5 weeks that can be used as a filter?

Thanks,

Matt

2 responses

Hello Matt,

Quantopian doesn't have any inbuilt stock scanning or screening like you might find in TOS or Bloomberg. You could import your list of stocks/target prices into Quantopian using the 'fetch' command but there is no way to lookup a symbol and derive it's SID i.e. symbol MXWL is SID(5155) but you can only get that by typing in the IDE. You can only trade if you know the SID but if your set of symbols was fixed and perhaps a few hundred you could do this once manually. It should then be possible to trade those signals.

P.

Hi Matt,

Here's a quick example. As Peter points out, there is no convenient reverse look-up (e.g. provide a list of symbols to obtain the corresponding list of SIDS).

The log output is:

2013-10-03PRINT8554  
2013-10-03PRINTSPY  
2013-10-03PRINTSPDR S&P 500 ETF TRUST  
2013-10-03PRINT1993-01-29 05:00:00+00:00  
2013-10-03PRINT2013-10-07 05:00:00+00:00  
2013-10-03PRINT24  
2013-10-03PRINTAAPL  
2013-10-03PRINTAPPLE INC  
2013-10-03PRINT1993-01-04 05:00:00+00:00  
2013-10-03PRINT2013-10-07 05:00:00+00:00  
2013-10-03PRINT33652  
2013-10-03PRINTBND  
2013-10-03PRINTVANGUARD TOTAL BOND MARKET ETF  
2013-10-03PRINT2007-04-10 05:00:00+00:00  
2013-10-03PRINT2013-10-07 05:00:00+00:00  

Grant