Hello , i have developed a strategy that uses both 1min data and 30min data, however the websocket only streams 1min data.
Is there a way to get live 30min data via the rest api ?
Or should i just aggregate it myself
If so , how should i aggregate it ? Is there a specific technique that alpaca uses for their 30m rest api data?
Or will a generic aggregation would work
If you’re using the Python library, you can specify a duration and time units for a TimeFrame object, e.g.:
timeframe=TimeFrame(amount=30,unit=TimeFrame.TimeFrameUnit.Minute)