alpacahq / Alpaca-API

The Alpaca API is a developer interface for trading operations and market data reception through the Alpaca platform.
https://alpaca.markets/
141 stars 13 forks source link

/v2/bars returning error for time frame 1Hour #178

Closed SDiamante13 closed 2 years ago

SDiamante13 commented 3 years ago

Describe the bug For /v2/bars the documentation says that 1Hour is a valid timeframe, however it returns an error.

To Reproduce Steps to reproduce the behavior: 1) Hit endpoint - https://data.alpaca.markets/v2/stocks/AAPL/bars?start=2021-04-12&end=2021-04-12&timeframe=1Hour

Expected behavior Returns data for stock symbol

Actual Behavior

{
    "code": 42210000,
    "message": "invalid timeframe"
}

Screenshots image

malpaca7 commented 3 years ago

Hey @SDiamante13 -- Mallory from the Alpaca team here.

I'm unable to replicate this issue; can you try hitting this endpoint again and see if you're still getting that error message?

gnvk commented 2 years ago

Hey 👋 I'm also unable to reproduce this issue and as such I will close it. If you're still experiencing this, please reopen and add more details.