The 2nd method uses plain old websockets and this document describes the request and response formats with examples.

The 2nd method uses plain old websockets and this document describes the request and response formats with examples.

Last updated: April Four,

Overview

Poloniex supports two ways for disseminating real-time public gegevens. The Shove API method mentioned ter https://poloniex.com/support/api/v1/ uses WAMP protocol and requires autobahn. This method has bot deprecated. The 2nd method uses plain old websockets and this document describes the request and response formats with examples.

Channels

The following &lt,channel id&gt, – &lt,channel name&gt, are supported.

Related movie:


Order Books: The ids below serve spil &lt,channel id&gt, and &lt,currency pair id&gt,

Requests and Response

There are two type of requests supported, subscribe and unsubscribe. The requests are for a specific channel. For non-book requests, the very first response is always an acknowledgement of the request. All channel updates are of the following format

&lt,sequence id&gt, is a number enlargening by one with each update and is unique within its channel. The sequence-id is always null for non-book channels.

Subscribe

Subscribe to real-time streaming gegevens by channel. The request assets is JSON object.

The &lt,channel id&gt, is the number from the Channels section documented earlier.

Ticker

Subscribe to ticker updates for all currency pairs.

The very first message is acknowledgement of the subscription.

Subsequent messages are ticker updates.

&lt,currency pair id&gt, is the same spil the order book channel number.

Price Aggregated Book

Subscribe to price aggregated depth of book by currency pair. Response includes an initial book snapshot, book modifications, and trades. Book modification updates with 0 quantity should be treated spil removal of the price level. Note that the updates are price aggregated and do not contain individual orders.

Subscription example for BTC_BTS pair (id is 14). You can either subscribe using the currency pair ID or name.

The very first response is the initial dump of the book

Subsequent responses are updates to the book and trades

Related movie:


Exchange Volume

Subscribe to 24 hour exchange volume statistics. Updates are sent every 20 seconds.

Subscription example for exchange volume

The very first response is acknowledgement of subscription

Subsequent responses are exchange volume update sent every 20 seconds. Colchoneta currencies are BTC, ETH, XMR, USDT

Unsubscribe

Heartbeats

When no messages have bot sent out for one 2nd, the server will send a heartbeat message spil goes after. Absence of heartbeats indicates a protocol or networking kwestie and the client application is expected to close the socket and attempt again.

5 comments

  1. I wonder if they coetáneo got hacked or if it wasgoed just maintenance. Wij shall never know I guess but i still indeed like bitfinex and I truly like that they suggested 70% off transaction fees for the entire month because they went down.

  2. People who stores large amount of money ter the webpagina are getting into fright mode and will very likely won’t use this exchange any more.

  3. Honestly i didn’t funk at all during this situation because they treated the situation well. They didn’t lack communication and informed us on a regular ondergrond. Of course it’s not cool to lose access to your coins. Hope it won’t toebijten again.

  4. If you keep them to your private wallet and withdraw them there, you don’t have any risks!

Leave a Reply

Your email address will not be published. Required fields are marked *

*