Run S&P example on aws EC2

problem to run the code of the example s&p 500 error file universe

error message on my linux instance:

File “”, line 6, in
from .universe import Universe
ModuleNotFoundError: No module named ‘main.universe’; ‘main’ is not a pa ckage
[root@ip-172-31-18-241 samplealgo]#

I run strats on Google cloud and moved my file containing (a list) of the universe of symbols to watch over to the GCP in a file called “” which has a list called universe = [‘xxx’,‘yyy’,‘whatever’] then I do a:

from Universe import universe as symbols_to_watch
(or whatever)

Hope that helps :slight_smile:
Holler and show more details if you still need help