alpacahq / alpacahq/Alpaca-API

bars API returns wrong response sometimes

Abierto
#159 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Sin datos de lenguaje
Estrellas
173
Forks
17
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.