alpacahq / alpacahq/Alpaca-API

Feature request: support placing order via websocket

Offen
#189 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Keine Sprachdaten
Sterne
173
Forks
17
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.