Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
QTradableStocksUS not being noted by IDE backtest

Hello there

I have a backtest for an algo in which I'm trying to get towards the point of competition submission.

One of the outstanding problems is that, despite filtering for the QtradableStocksUS universe, Quantopian is telling me i'm not.

Here is the code I user to set the universe.

from quantopian.pipeline.data.builtin import USEquityPricing  
from quantopian.pipeline.filters import QTradableStocksUS  

Followed by

is_tradable = QTradableStocksUS()  
longs = arrows_up & arrows_up1 & buy_spike_struck & falling_lows &  lower_band_pen & is_tradable  

What am I doing wrong?

Thanks in advance!

2 responses

Now for the last few back tests it IS saying the algo is using the QtradablestocksUS universe. The code has not been changed. Anybody else experienced this? Seems buggy?