tai v0.0.22 API Reference

Modules

Tai

A behavior for implementing a process that receives changes in the order book.

Display symbols on each exchange with a non-zero balance

Display the list of maker/taker fees for tradable products

Display the available commands and their usage

Commands for using tai in IEx

Display the bid/ask for each symbol on all order book feeds

Display the list of orders and their details

Display the list of positions and their details

Display the list of products and their trade requirements for each exchange

Module to parse the config from the application environment

Arbitratry precision arithmetic for assets

The venue a product can be traded

Manage and query the state for an order book for a symbol on a feed

A level of a side in an order book

Represents a bid & ask price level row in the order book

Module which represents errors when the service is responding that they are unavailable

Global settings

Transform symbols between tai and exchange formats

Returned when there is a problem creating fill or kill orders

Return from venue adapters when creating or canceling an order

Return from venue adapters when amending an order

Return from venue adapters when the order was canceled

Returned from venue adapters when accepted for cancellation. Updates to the order will be received from the stream.

Returned from venue adapters for a created order

Returned from venue adapters when accepted for creation. Updates to the order will be received from the stream.

ETS backed store for the local state of orders

ETS backed store for the local state of margin positions

Transforms a list of products to a map of product symbols by venue

Create orders for the Binance adapter

Normalize the data received from a depthUpdate event

Create orders for the Bitmex adapter

WebSocket order book feed adapter for GDAX

Retrieves the available products on the GDAX exchange

Sends a cancel order request to OkEx.

Create orders for the OkEx adapter

Fetch and normalize all balances on the Poloniex account

Hydrate order books for the Poloniex exchange

Retrieves the available products on the Poloniex exchange

Mappings between tai symbol format and Poloniex currency pair format

Coordinates the asynchronous hydration of a venue

Behaviour to connect to a WebSocket that streams quotes from order books