alpacahq / alpacahq/alpaca-py

[Feature Request] get_all_closed_positions()

Đang mở
#454 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
1.5k
Fork
398
Merge trung bình
1 ngày 16 giờ
Pull request đã merge (30 ngày)
6

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đá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.