tai v0.0.28 API Reference

Modules

Tai

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

Advisor factory for sharing all subscribed products.

ETS backed store for the local state of advisors

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

Commands for using tai in IEx

Convert the application environment into a struct

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

The cancel request has been accepted by the venue. The result of the canceled order is received in the stream.

The create request has been accepted by the venue. The result of the created order has been received in the connection stream.

The order was successfully amended on the venue

There was an error amending the order on the venue

The order was successfully canceled on the venue

There was an error canceling the order on the venue

There was an error creating the order on the venue.

The order was not filled or partially filled and removed from the order book

The order was fully filled and removed from the order book

The order has been created on the venue and is passively sitting in the order book waiting to be filled

An open order has been successfully canceled

An open order has been fully filled

An open order has been partially filled

The order is going to be sent to the venue to be amended

The order is going to be sent to the venue to be canceled

The order was not accepted by the venue. It most likely didn't the venue's pass validation criteria.

Bypass sending the order to the venue

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