alpacahq / alpacahq/alpaca-py

[Feature Request] get_all_closed_positions()

Offen
#454 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
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.

Right now, it is very difficult to get accurate P/L for each symbol since day one or long period of time.

### Describe the solution you'd like.

It would be nice to have the option to get the historical P/L of each symbol

**For example:
P/L since 2019 until today:**

AAPL = $900 USD
AMC = -$100 USD
Etc...

Maybe a new method `get_all_closed_positions()` ?

### Describe an alternate solution.

Another method or function that could get the expected results.

### Anything else? (Additional Context)

Simple is better. Occam's razor

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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