Quickstart
1. Get a token
2. Connect to the WebSocket
Pass the token as anAuthorization header on the WebSocket upgrade request. Invalid or missing tokens are rejected with HTTP 401 before the connection is established.
gateway.sandbox.architect.exchange with gateway.architect.exchange for production.
3. Login response
On successful connection, the server sends a login response withrid: 0 containing your open orders:
4. Place an order
t="n", filled t="f", canceled t="c", rejected t="j").
Cancel on Disconnect
To automatically cancel all orders placed during a WebSocket session when the connection drops, pass thecancel_on_disconnect query parameter when opening the connection: