I want to do a very simple thing. After using the pipeline to get the Stocks of interest. I want to add current stocks in my positions in "before_trading_start" function like this:
update_universe(context.my_universe.index.ravel().tolist() + context.day_start_stocks)
I'm not able to do that. Simply how could I create an Equity object. I tried sid, symbol, symbols. Another thing, is there a way to get a list of stocks from my positions directly without looping on them?