tai v0.0.28 Tai.VenueAdapters.Poloniex.OrderBookFeed

Hydrate order books for the Poloniex exchange

Link to this section Summary

Functions

Hook to create a connection URL with symbols

Secure production Poloniex WebSocket url.

Add the registered process name as logger metadata after the websocket has connected

Log a warning message when the WebSocket receives a message that is not explicitly handled

Invoked after the process is started and should be used to setup subscriptions

Link to this section Functions

Link to this function

build_connection_url(url, symbols)

Hook to create a connection URL with symbols

Secure production Poloniex WebSocket url.

This is the undocumented API used by the website. The "official" documented Push API does not work.

Link to this function

handle_connect(conn, state)

Add the registered process name as logger metadata after the websocket has connected

Link to this function

handle_msg(unhandled_msg, state)

Log a warning message when the WebSocket receives a message that is not explicitly handled

Link to this function

start_link(args)

Link to this function

start_link(url, list)

Link to this function

subscribe_to_order_books(pid, feed_id, symbols)

Invoked after the process is started and should be used to setup subscriptions

Callback implementation for Tai.Venues.OrderBookFeed.subscribe_to_order_books/3.