alpacahq / alpacahq/Alpaca-API

Market data "latest trade" returning extremely old value

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

**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

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.