Bitcoin/crypto exchange company Kraken, announced today that its WebSockets private API is now live. The first two messages of the private API are now available to all Kraken clients after having been in beta-only mode since October 1st.
WebSockets Private API
Kraken’s WebSockets API (Application Program Interface) provides a faster, more efficient interface for technically-minded clients who build software applications for trading and accessing market data.
Clients use the API to establish a durable, low-latency connection with Kraken’s servers, then the servers push data incrementally to clients as soon as an update is available.
The private API is used for trading because it specifically handles a client’s private data and actions.
The first two messages of the private API do the following:
- openOrders – lists the client’s open orders and pushes updates when new orders are created
- ownTrades – lists the client’s last 50 trades and pushes updates when new trades execute
Two more messages are confirmed to be available next:
- addOrder – will provide a faster way to add orders
- cancelOrder – will provide a faster way to cancel an order or list of orders
These messages will first be made available for beta access, with the company to announce more updates soon.