alpacahq / alpacahq/Alpaca-API

Feature request: support placing order via websocket

Open
#189 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
173
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Now the user needs to use the POST method to place/cancel an order. But this can be very slow because a new http connection and tls handshake have to be established from scratch. Is it possible that alpaca can support placing orders though websocket or other stream protocols that keeps the connection so that the latency can be much smaller.

Compared with the improvement that this improvement can bring, the amount of work required is not very large on the premise that the websocket framework has been established. It can improve a lot regarding the latency.
Some cryptocurrency exchanges support these features as well.

Hope the opinion can be considered.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.