{"id":13561200,"url":"https://github.com/fremantle-industries/tai","last_synced_at":"2025-04-13T18:25:30.906Z","repository":{"id":38333081,"uuid":"98602422","full_name":"fremantle-industries/tai","owner":"fremantle-industries","description":"A composable, real time, market data and trade execution toolkit. Built with Elixir, runs on the Erlang virtual machine","archived":false,"fork":false,"pushed_at":"2024-12-07T00:58:56.000Z","size":6109,"stargazers_count":472,"open_issues_count":14,"forks_count":78,"subscribers_count":25,"default_branch":"main","last_synced_at":"2025-04-06T16:02:43.075Z","etag":null,"topics":["algorithmic-trading","automated-trading","bitcoin","crypto-trader","crypto-trading","crypto-trading-bot","cryptocurrency","cryptocurrency-trader","cryptocurrency-trading-bot","derivatives","fintech","hft","hft-trading","investment","quant","quantitative-finance","trading","trading-bot","trading-systems"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fremantle-industries.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-28T03:07:18.000Z","updated_at":"2025-03-29T05:08:58.000Z","dependencies_parsed_at":"2023-02-08T09:16:44.709Z","dependency_job_id":"13f04ca6-724d-499c-b0c9-fad15f0a0605","html_url":"https://github.com/fremantle-industries/tai","commit_stats":{"total_commits":1738,"total_committers":8,"mean_commits":217.25,"dds":"0.30264672036823936","last_synced_commit":"23427530d69619529c0923504e39264520a23a4a"},"previous_names":["fremantle-capital/tai"],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fremantle-industries%2Ftai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fremantle-industries%2Ftai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fremantle-industries%2Ftai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fremantle-industries%2Ftai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fremantle-industries","download_url":"https://codeload.github.com/fremantle-industries/tai/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248759413,"owners_count":21157156,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithmic-trading","automated-trading","bitcoin","crypto-trader","crypto-trading","crypto-trading-bot","cryptocurrency","cryptocurrency-trader","cryptocurrency-trading-bot","derivatives","fintech","hft","hft-trading","investment","quant","quantitative-finance","trading","trading-bot","trading-systems"],"created_at":"2024-08-01T13:00:53.645Z","updated_at":"2025-04-13T18:25:30.887Z","avatar_url":"https://github.com/fremantle-industries.png","language":"Elixir","funding_links":[],"categories":["Elixir","Execution and HFT"],"sub_categories":[],"readme":"# Tai - Orchestrate Your Trading\n\n[![Build Status](https://github.com/fremantle-industries/tai/workflows/test/badge.svg?branch=main)](https://github.com/fremantle-industries/tai/actions?query=workflow%3Atest)\n[![Coverage Status](https://coveralls.io/repos/github/fremantle-industries/tai/badge.svg?branch=main)](https://coveralls.io/github/fremantle-industries/tai?branch=main)\n[![hex.pm version](https://img.shields.io/hexpm/v/tai.svg?style=flat)](https://hex.pm/packages/tai)\n\nA composable, real time, market data and trade execution toolkit. Built with [Elixir](https://elixir-lang.org/), runs on the [Erlang virtual machine](http://erlang.org/faq/implementations.html)\n\n[Getting Started](./docs/GETTING_STARTED.md) | [Built with Tai](./docs/BUILT_WITH_TAI.md) | [Commands](./docs/COMMANDS.md) | [Architecture](./docs/ARCHITECTURE.md) | [Examples](./apps/examples) | [Configuration](./docs/CONFIGURATION.md) | [Observability](./docs/OBSERVABILITY.md)\n\n## What Can I Do? TLDR;\n\nStream market data to create and manage orders with a near-uniform API across multiple venues\n\nHere's an example of an advisor that logs the spread between multiple products on multiple venues\n\n[![asciicast](https://asciinema.org/a/259561.svg)](https://asciinema.org/a/259561)\n\n## Supported Venues\n\n| Venues | Live Order Book | Accounts | Orders | Products | Fees |\n| ------ | :-------------: | :------: | :----: | :------: | :--: |\n| FTX    |       [x]       |   [x]    |  [x]   |   [x]    | [x]  |\n| OkEx   |       [x]       |   [x]    |  [x]   |   [x]    | [x]  |\n| BitMEX |       [x]       |   [x]    |  [x]   |   [x]    | [x]  |\n\n## Venues In Progress\n\n| Venue             | Live Order Book | Accounts | Orders | Products | Fees |\n| ----------------- | :-------------: | :------: | :----: | :------: | :--: |\n| Binance           |       [x]       |   [x]    |   [ ]  |   [x]    | [x]  |\n| Deribit           |       [x]       |   [x]    |   [ ]  |   [x]    | [x]  |\n| GDAX              |       [x]       |   [x]    |   [ ]  |   [x]    | [x]  |\n| Huobi             |       [x]       |   [ ]    |   [ ]  |   [x]    | [ ]  |\n| Delta Exchange    |       [x]       |   [ ]    |   [ ]  |   [x]    | [x]  |\n| Bybit             |       [ ]       |   [ ]    |   [ ]  |   [x]    | [ ]  |\n| bit.com           |       [ ]       |   [ ]    |   [ ]  |   [ ]    | [ ]  |\n| Bitfinex          |       [ ]       |   [ ]    |   [ ]  |   [ ]    | [ ]  |\n| Kraken            |       [ ]       |   [ ]    |   [ ]  |   [ ]    | [ ]  |\n| CME               |       [ ]       |   [ ]    |   [ ]  |   [ ]    | [ ]  |\n| Phemex            |       [ ]       |   [ ]    |   [ ]  |   [ ]    | [ ]  |\n| BTSE              |       [ ]       |   [ ]    |   [ ]  |   [ ]    | [ ]  |\n| KuCoin            |       [ ]       |   [ ]    |   [ ]  |   [ ]    | [ ]  |\n| BitMax            |       [ ]       |   [ ]    |   [ ]  |   [ ]    | [ ]  |\n| Bitget            |       [ ]       |   [ ]    |   [ ]  |   [ ]    | [ ]  |\n| MEXC              |       [ ]       |   [ ]    |   [ ]  |   [ ]    | [ ]  |\n| PrimeXBT          |       [ ]       |   [ ]    |   [ ]  |   [ ]    | [ ]  |\n| Gate.io           |       [ ]       |   [ ]    |   [ ]  |   [ ]    | [ ]  |\n| Coinflex          |       [ ]       |   [ ]    |   [ ]  |   [ ]    | [ ]  |\n| bitFlyer          |       [ ]       |   [ ]    |   [ ]  |   [ ]    | [ ]  |\n\n## Install\n\n`tai` requires Elixir 1.11+ \u0026 Erlang/OTP 22+. Add `tai` to your list of dependencies in `mix.exs`\n\n```elixir\ndef deps do\n  [\n    {:tai, \"~\u003e 0.0.75\"}\n    # Choose your order data store\n    # {:ecto_sqlite3, \"~\u003e 0.5.6\"}\n    # {:postgrex, \"~\u003e 0.15\"}\n  ]\nend\n```\n\nCreate an `.iex.exs` file in the root of your project and import the `tai` helper\n\n```elixir\n# .iex.exs\nApplication.put_env(:elixir, :ansi_enabled, true)\n\nimport Tai.IEx\n```\n\nRun the `setup` mix task to:\n\n* Download dependencies\n* Create an orders database\n* Generate tai migrations for the orders database\n* Run migrations\n\n```bash\n$ mix setup\n```\n\n## Usage\n\n`tai` runs as an OTP application.\n\nDuring development we can leverage `mix` to compile and run our application with an\ninteractive Elixir shell that imports the set of `tai` helper [commands](./docs/COMMANDS.md).\n\n```bash\niex -S mix\n```\n\n## Upgrading Tai\n\nBump the required version number in `mix.exs` and download the dependencies.\n\n```bash\n$ mix deps.update tai\n```\n\nRegenerate new or updated migrations\n\n```bash\n$ mix tai.gen.migration\n```\n\nRerun ecto migrations\n\n```bash\n$ mix ecto.migrate\n```\n\n## Help Wanted :)\n\nIf you think this `tai` thing might be worthwhile and you don't see a feature\nor venue listed we would love your contributions to add them! Feel free to\ndrop us an email or open a Github issue.\n\n## Authors\n\n- Alex Kwiatkowski - alex+git@fremantle.io\n\n## License\n\n`tai` is released under the [MIT license](./LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffremantle-industries%2Ftai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffremantle-industries%2Ftai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffremantle-industries%2Ftai/lists"}