alpacahq / alpacahq/Alpaca-API

Market data "latest trade" returning extremely old value

Abierto
#267 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

**Describe the bug**
I'd simply like to pull the latest trade to get an idea of the price; but it's returning a trade from august not a price from today. There are more recent trades inside the paginated list of trades.

**To Reproduce**
Steps to reproduce the behavior:

Hit "https://data.alpaca.markets/v2/stocks/BSLKW/trades"
Notice there are trades from today
Then hit "https://data.alpaca.markets/v2/stocks/BSLKW/trades/latest"
Compare results

**Expected behavior**
I'd expect latest trade to be one of (ideally last) trade from the trades list.

**Screenshots**
Latest Trade (note: it's from August)
image
Trades (note: there are trades from today)
image

**Desktop (please complete the following information):**
n/a

**Smartphone (please complete the following information):**
n/a

**Additional context**
n/a

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.