alpacahq / alpacahq/Alpaca-API

bars API returns wrong response sometimes

Aperta
#159 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Nessun dato sulla lingua
Stelle
173
Fork
17
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Possibly related to issue [#139](https://github.com/alpacahq/Alpaca-API/issues/139)

The following endpoint returns a non-deterministic response.

https://data.alpaca.markets/v1/bars/minute?symbols=TSLA&limit=1&until=2021-01-25T15:30:00.000Z

Expected behavior: API should always return a single bar whose time is 2021-01-25, 15:29:00 pm.
Actual behavior: Sometimes, (seemingly randomly,) the API will wrongly return the following:

{
"TSLA": [
{
"t": 1611588480,
"o": 887.935,
"h": 887.935,
"l": 885.73,
"c": 886.27,
"v": 3319
}
]
}

which is the bar for 2021-01-25, 15:28:00 pm not 15:29:00 pm.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.