I’m calling:
api.get_bars_iter(batch, TimeFrame.Day, start=start.isoformat(), end=end.isoformat(), adjustment='all', raw=True):
where batch = asset.id list
and am getting the following error:
alpaca_trade_api.rest.APIError: invalid symbol(s): 3C158F3D-EF56-4562-B7B2-67F1C07C333A,E968916A-7B07-4551-BDFC-4BAE43B1FD66,AA09ECE3-9769-47C1-BFC7-40222DEE0A01
How does one pass asset Id instead of symbol to the python API?