The REST protocol and Websocket feel a bit different in terms of slippage, compared to other platforms that don't wrap the Websocket protocol themselves. Please ask how to reduce the REST protocol slippage.
The grassThere's no better way to do this than to put the server near the exchange.