alpacahq / alpacahq/Alpaca-API

Position doesn't exists - crypto

オープン
#215 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
言語のデータがありません
スター
173
フォーク
17
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。