alpacahq / alpacahq/alpaca-py

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

Đang mở
#80 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Broker API enhancement Trading API
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.

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_

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.