alpacahq / alpacahq/alpaca-py

Trading API: Close Position should have its own Response model.

Offen
#80 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Broker API enhancement Trading API
Vorherrschende Sprache
Python
Sterne
1.5k
Forks
398
Ø Merge
1 T. 16 Std.
Gemergte PRs (30 T.)
6

Beschreibung

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Is your feature request related to a problem? Please describe.

ClosePositionResponse is needed because the response can vary on whether there is an open position or not. Furthermore, for non-existing positions, there can be varying responses depending on whether there is an open order for that symbol.

### Describe the solution you'd like.

_No response_

### Describe an alternate solution.

_No response_

### Anything else? (Additional Context)

_No response_

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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