alpacahq / alpacahq/Alpaca-API

Market data "latest trade" returning extremely old value

Offen
#267 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Keine Sprachdaten
Sterne
173
Forks
17
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.