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!