alpacahq / alpacahq/Alpaca-API

New API for submitting multiple orders

未关闭
#155 1 条评论 4 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
没有语言数据
星标
173
派生
17
PR 合并指标
30 天内没有已合并 PR

描述

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!

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。