alpacahq / alpacahq/Alpaca-API

Feature request: support placing order via websocket

Aperta
#189 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Nessun dato sulla lingua
Stelle
173
Fork
17
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.