alpacahq / alpacahq/Alpaca-API

New API for submitting multiple orders

Đang mở
#155 1 bình luận 4 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
173
Fork
17
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hi,

Currently there is submit_order() API that takes one order. I’m wondering if it is possible to support a new API like submit_orders().

In the current behavior if the client side wants to submit X orders at the same time, it needs to call the REST API X times. Even with async in Python it’s still not fully parallel, which means there are some latency between order submission. If we can submit X orders with one request then it’ll solve the problem. Brokers like IB do support this kind of functionality.

This is also very useful if we want to split a big order to smaller ones.

Thanks!

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

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