Subscribe Subscribe to real-time streaming gegevens by channel.

Last updated: April Four,

Overview

Poloniex supports two ways for disseminating real-time public gegevens. The Thrust 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 bod 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.

Related movie:


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

Related movie:


Subsequent responses are updates to the book and trades

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. Almohadilla 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 punt and the client application is expected to close the socket and attempt again.

3 comments

  1. Also If I needed to I will pay them ordinario currency because if the value of bitcoins rose above my expected value I will be more than just sad.. haha

  2. According to law, A spouse and wifey will split all their belongings into half upon their divorse. If you think you will be divorse with your spouse someday then dont tell anything about your crypto hehe.

  3. the same thing happens spil when you have a nasty divorce and a fat pocket with a loterijlot of money te it. if the ex finds out about it and can prove it, they take a part of it (of course depending on what country you live te and how the laws are there) and if they can’t find out about it or prove it they can take nothing.

Leave a Reply

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