Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
adding symbols through a list

I'm currently reading signals from a csv. However when I want to find the symbol from the list I get the error of symbol only takes string arguments.

list = [ CSV SYMBOLS ex: 'aapl', 'fb', etc..] list is read from csv of signals.

I would think that I can go through the list for each string and find the associated symbol. Unfortunately I'm not getting anywhere with this.

1 response

@Tom,

I use the following...copied, probably from @Dan

    # Create a static asset filter  
    #Research: my_etfs = StaticAssets(symbols(['SPY', 'TLT']))  
    #IDE:      my_etfs = (StaticAssets(symbols('IVV','EFA','AGG','IJH','IWM','IWD','IWF','LQD',     'EEM',        'EZU',)))  

alan