tai v0.0.4 API Reference
Modules
A behavior for implementing a server that receives order book changes
Manage subscriptions to the tai application boot process
Display symbols on each exchange with a non-zero balance
Commands for using tai
in IEx
Display the available commands and their usage
Display the bid/ask for each symbol on all order book feeds
Display the list of orders and their details
Display the list of products and their trade requirements for each exchange
Commands to submit and manage orders for an account
Global config
Module which represents errors with credentials e.g. invalid api keys
Execute private exchange actions for the Binance account
Fetch and normalize all balances on the Binance account
Create buy and sell orders for the Binance adapter
Normalize the data received from a depthUpdate event
WebSocket order book feed adapter for Binance
Supervisor for the Binance exchange adapter
Execute private exchange actions for the GDAX account
Fetch and normalize all balances on the GDAX account
Create buy and sell orders for the GDAX adapter
WebSocket order book feed adapter for GDAX
Supervisor for the GDAX exchange adapter
Mock adapter for an order book feed. Simulate a stream of order book updates
Execute private exchange actions for the Poloniex account
Fetch and normalize all balances on the Poloniex account
Create buy and sell orders for the Poloniex adapter
Hydrate order books for the Poloniex exchange
Retrieves the available products on the Poloniex exchange
Supervisor for the Poloniex exchange adapter
Mappings between tai symbol format and Poloniex currency pair format
Mock for testing private exchange actions
Test adapter for an order book feed. Simulate a stream of order book updates
Supervisor for the test exchange adapter
Uniform interface for private exchange actions
Manages the balances of an account
Configuration helper for exchanges
Behaviour to connect to a WebSocket that streams quotes from order books
Arbitratry precision arithmetic for assets
Manage and query the state for an order book for a symbol on a feed
A level of a side in an order book
Module which represents errors when the service is responding that they are unavailable
Global settings
Root supervisor for tai components
Transform symbols between tai and exchange formats
Module which represents a timeout error
Returned when there is a problem creating fill or kill orders
Returned when there is not enough balance to execute the order
Returned from creating an order
The states of an order
Converts submissions into orders and keeps track of them for updates
Order details that are turned into an order and assigned a tracking client id
Supervisor that manages the processes for trade execution and tracking
Order lifetime policies