(new-bitstamp-pusher
{:keys [pusher-key str-big-decimals?] :as opts :or {str-big-decimals? true}})
Opens a new connection with the Coin Mate Pusher server, subscribes a requested channel and returns a following tuple [pusher pusher-channel status-ch data-ch]
pusher
a Pusher instancepusher
a subscribed Channel instancestatus-ch
an async channel containing a pusher and channel messages as a tuple [action data]
data-ch
an async channel containing data for the subscribed channel as a tuple [channel-name event-name data]
The function takes an option object:
channel-name
a channel name to subscribepusher-key
a Pusher key, default de504dc5763aeef9ff52event-name
an event name to bind on the subscribed channelstatus-buffer-or-n
a buffer-or-n for the status channeldata-buffer-or-n
a buffer-or-n for the data channelstr-big-decimals?
when true
coerce a volume and price (in strings) as BigDecimal
, default true
Opens a new connection with the Coin Mate Pusher server, subscribes a requested channel and returns a following tuple [pusher pusher-channel status-ch data-ch] - `pusher` a Pusher instance - `pusher` a subscribed Channel instance - `status-ch` an async channel containing a pusher and channel messages as a tuple `[action data]` - `data-ch` an async channel containing data for the subscribed channel as a tuple `[channel-name event-name data]` The function takes an option object: - `channel-name` a channel name to subscribe - `pusher-key` a Pusher key, default de504dc5763aeef9ff52 - `event-name` an event name to bind on the subscribed channel - `status-buffer-or-n` a buffer-or-n for the status channel - `data-buffer-or-n` a buffer-or-n for the data channel - `str-big-decimals?` when `true` coerce a volume and price (in strings) as `BigDecimal`, default `true`
(new-coinmate-pusher {:keys [pusher-key] :as opts})
Opens a new connection with the Coin Mate Pusher server, subscribes a requested channel and returns a following tuple [pusher pusher-channel status-ch data-ch]
pusher
a Pusher instancepusher
a subscribed Channel instancestatus-ch
an async channel containing a pusher and channel messages as a tuple [action data]
data-ch
an async channel containing data for the subscribed channel as a tuple [channel-name event-name data]
The function takes an option object:
channel-name
a channel name to subscribepusher-key
a Pusher key, default af76597b6b928970fbb0event-name
an event name to bind on the subscribed channelstatus-buffer-or-n
a buffer-or-n for the status channeldata-buffer-or-n
a buffer-or-n for the data channelOpens a new connection with the Coin Mate Pusher server, subscribes a requested channel and returns a following tuple [pusher pusher-channel status-ch data-ch] - `pusher` a Pusher instance - `pusher` a subscribed Channel instance - `status-ch` an async channel containing a pusher and channel messages as a tuple `[action data]` - `data-ch` an async channel containing data for the subscribed channel as a tuple `[channel-name event-name data]` The function takes an option object: - `channel-name` a channel name to subscribe - `pusher-key` a Pusher key, default af76597b6b928970fbb0 - `event-name` an event name to bind on the subscribed channel - `status-buffer-or-n` a buffer-or-n for the status channel - `data-buffer-or-n` a buffer-or-n for the data channel
(pusher-factory pusher
coerce-orderbook
{:keys [channel-name pusher-key event-name status-buffer-or-n
data-buffer-or-n]
:as opts})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close