Popularity
8.4
Growing
Activity
7.6
Declining
250
18
40

Description

A composable, real time, market data and trade execution toolkit. Built with Elixir, runs on the Erlang virtual machine

Monthly Downloads: 211
Programming language: Elixir
License: MIT License
Tags: Quant     Algo Trading     Trading Bot     Finance     Fintech    
Latest version: v0.0.58

README

Tai - Orchestrate Your Trading

Build Status Coverage Status hex.pm version

A composable, real time, market data and trade execution toolkit. Built with Elixir, runs on the Erlang virtual machine

[Built with Tai](./docs/BUILT_WITH_TAI.md) | Install | Usage | [Commands](./docs/COMMANDS.md) | [Architecture](./docs/ARCHITECTURE.md) | [Examples](./apps/examples) | [Configuration](./docs/CONFIGURATION.md)

What Can I Do? TLDR;

Stream market data to create and manage orders with a near-uniform API across multiple venues

Here's an example of an advisor that logs the spread between multiple products on multiple venues

asciicast

Supported Venues

Venues Live Order Book Accounts Active Orders Passive Orders Products Fees
BitMEX [x] [x] [x] [x] [x] [x]
OkEx [x] [x] [x] [x] [x] [x]

Venues In Progress

Venue Live Order Book Accounts Active Orders Passive Orders Products Fees
Binance [x] [x] [x] [ ] [x] [x]
Deribit [x] [x] [ ] [ ] [x] [x]
GDAX [x] [x] [ ] [ ] [x] [x]
Huobi [x] [ ] [ ] [ ] [x] [ ]
FTX [ ] [ ] [ ] [ ] [ ] [ ]
Coinflex [ ] [ ] [ ] [ ] [ ] [ ]
Bybit [ ] [ ] [ ] [ ] [ ] [ ]
bitFlyer [ ] [ ] [ ] [ ] [ ] [ ]
Kraken [ ] [ ] [ ] [ ] [ ] [ ]
Bitfinex [ ] [ ] [ ] [ ] [ ] [ ]

Install

tai requires Elixir 1.8+ & Erlang/OTP 21+. Add tai to your list of dependencies in mix.exs

def deps do
  [{:tai, "~> 0.0.58"}]
end

Create an .iex.exs file in the root of your project and import the tai helper

# .iex.exs
Application.put_env(:elixir, :ansi_enabled, true)

import Tai.IEx

Usage

tai runs as an OTP application.

During development we can leverage mix to compile and run our application with an interactive Elixir shell that imports the set of tai helper [commands](./docs/COMMANDS.md).

iex -S mix

Help Wanted :)

If you think this tai thing might be worthwhile and you don't see a feature or venue listed we would love your contributions to add them! Feel free to drop us an email or open a Github issue.

Authors

License

tai is released under the [MIT license](./LICENSE.md)


*Note that all licence references and agreements mentioned in the Tai README section above are relevant to that project's source code only.