alpacahq / alpacahq/Alpaca-API

Position doesn't exists - crypto

Offen
#215 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

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.

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.