I'm trying to load a list of symbols using fetch_csv and iterate through the symbols using a for loop. I'm a bit lost on how to do this. Here is what I have so far -- please help. Thanks.
def initialize(context):
# import the custom CSV data file
fetch_csv('https://docs.google.com/spreadsheets/d/1jOfn45Hyjeg4ZwaxwGc8PE8ZMnoewIaL6DEcA0eaAEw/pub?output=csv',
date_column='dummydate')
def handle_data(context,data):
#iterate through list of symbols found in the csv file
for stock in fetcher_data:
if stock.price > 100:
do something