alpacahq / alpacahq/Alpaca-API

Position doesn't exists - crypto

Đang mở
#215 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ả

Holding 4 crypto currencies on my paper trading account.
list_positions is showing all positions correctly.
Using get_position is only working for BCHUSD.
ETHUSD, BTCUSD & LTCUSD all return:
"code": 40410000,
"message": "position does not exist"

My exact steps
Bought 0.1 of BCHUSD, ETHUSD, BTCUSD & LTCUSD via a quantity api buy order
list positions - shows all positions correctly
loop through and get position for each symbol

Curl request via Postman gives the same results as running the calls via python.

Tried buying 1 BTCUSD via the web app and then getting position via an api call in python and via curl in postman - gives the same error.

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.