@DdIV

I got the response from Alpaca in the Slack:
Quote

It appears you haven’t signed up for the “unlimited” data plan? or are using keys from an account that isn’t associated with that plan. Notice in your debugging the line
Alpaca Basic Plan. Adjust end to 1631894271
That implies the API thinks you only have the basic data plan which restricts access to the most recent 15 minutes of data.