When I'm using
for stocks in context.stocks:
....
I'm getting a return of about 50%. But when I'm using
for stocks in data:
.......
the total return is very much different for the same time series (about 11% at a point compared to previous 34%). I was hoping if anyone could tell me what is the difference between this two objects.
I'm trying to use data, because I now want to import a csv and my understanding is that the fetch_csv maps the csv data with '***data***' object in handle_data function.
Thanks.