As you can see in my algorithm, I have the symbol listed many times. When I want to backtest another symbol, I have to change them all which takes up unnecessary amounts of time. Does anyone know how to place something in the code where you only have to switch the symbol once and it will work throughout the entire code? For example place the equity in self.equities and then can I write equity instead of the symbol throughout the code? Thanks.

Author