Gdex v0.1.1 Gdex.Websocket.Unsubscribe View Source

Functions to send unsubscribe messages to GDAX.

Link to this section Summary

Functions

Unsubscribe from channels for the given product_ids

Send the request to gdax

Link to this section Types

Link to this type product_ids() View Source
product_ids() :: binary | [binary]

Link to this section Functions

Link to this function unsubscribe(gdax, channels, product_ids \\ []) View Source

Unsubscribe from channels for the given product_ids.

If products_ids is empty, unsubscribe from channels for all subscribed products.

Link to this function unsubscribe_raw(gdax, request) View Source
unsubscribe_raw(Gdex.Websocket.State.t, Map.t) :: :ok

Send the request to gdax.