Thank you guys for this amazing platform. It's fun to play with it. I am not a very experienced Python programmer, so I need some help now. Sorry for my unprofessional questions.
I think it was allowed to iterate data object to reference the ticker symbol of securities. But now, the data object is not iterable. How could I reference the ticker symbol of securities I pre-assigned (or fetched from CSVs) to context object?
The logic of my code is very simple:
def rebalance(context, data):
for my_equity in data:
if my_equity.symbol == my_trading_candidate_symbol:
equity_to_trade = my_equity