Quantopian 

context.security_list = [sid(4922), sid(679), sid(24), sid(3149), sid(698), sid(1267), sid(23112), sid(1900), sid(4283), sid(2190), sid(2119), sid(8347), sid(20088), sid(3496), sid(3766), sid(3951), sid(4151), sid(25006), sid(4707), sid(5029), sid(5061), sid(5328), sid(5923), sid(5938), sid(7041), sid(7792), sid(21839), sid(35920), sid(8229), sid(7883)]

QuantConnect

self.aapl = self.AddEquity("AAPL")

self.other_symbol = self.AddEquity("other_symbol")

....

self. last_symbol = self.AddEquity("last_symbol") 

Question

Is there a better was to do this in QuantConnect with Python ? 

Author