alpacahq / alpacahq/Alpaca-API

Market data "latest trade" returning extremely old value

Đang mở
#267 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
173
Fork
17
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.