Our WebSocket API v1 supports trading via the addOrder and cancelOrder endpoints. The addOrder endpoint is used for placing new orders and the cancelOrder endpoint is used for cancelling existing (open) orders.
Both addOrder and cancelOrder are private endpoints, which means that they can only be accessed via an authenticated WebSocket connection.
An initial connection should be made to the authenticated WebSocket URL wss://ws-auth.kraken.com/ , which can then be kept open indefinitely while orders are placed and cancelled. A single WebSocket connection is designed to support multiple requests, so it is not necessary (or recommended) to connect/disconnect for each call to the trading endpoints.