tai v0.0.4 Tai.ExchangeAdapters.Test.OrderBookFeed

Test adapter for an order book feed. Simulate a stream of order book updates

Link to this section Summary

Functions

Hook to create a connection URL with symbols

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

Invoked after a message is received on the socket and should be used to process the message

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

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(msg, state)

Invoked after a message is received on the socket and should be used to process the message

Callback implementation for Tai.Exchanges.OrderBookFeed.handle_msg/2.

Link to this function start_link(args)
Link to this function start_link(url, list)
Link to this function subscribe_to_order_books(pid, arg2, symbols)

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

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