Running a simple order function like this:
for stock in context.long_list:
if data.can_trade(stock):
order_target(stock,1)
It gives me the following error: "TypeError: Expected assets argument to be of type or iterable of type Asset"
Can anyone help me understand why this is happening? Thank you in advance!