I’m using python. Requesting data for a single ticker like api.polygon.historic_agg_v2('SPY', *args)
works fine. However, passing a list of tickers like api.polygon.historic_agg_v2(['SPY', 'AAPL'], *args)
does not.
I am guessing that I should send separate concurrent requests to the API if I want to get the data for multiple tickers efficiently. But I am not sure how. Or maybe I should be subscribing to data for multiple tickers via the StreamConn class instead? Any code examples or other advice would be highly appreciated. Thanks!