[![Automated test suite and Docker image build](https://github.com/tradingstrategy-ai/trade-executor/actions/workflows/test-and-build-image.yml/badge.svg)](https://github.com/tradingstrategy-ai/trade-executor/actions/workflows/test-and-build-image.yml)
# Trade Executor: Algorithmic Trading Engine for DeFi
`trade-executor` is a Python framework for backtesting and live execution of algorithmic trading strategies on decentralised exchanges.
**Note**: This is early beta software. [Please pop in to the Discord for any questions](https://tradingstrategy.ai/community).
## Features
- Only trading framework that has been built grounds up for [decentralised finance](https://tradingstrategy.ai/glossary/decentralised-finance)
- [High quality documentation](https://tradingstrategy.ai/docs/)
- Support [decentralised markets like Uniswap, PancakeSwap](https://tradingstrategy.ai/docs/overview/supported-markets.html)
- [Backtesting enginer](https://tradingstrategy.ai/docs/running/backtesting.html)
- [Live trading](https://tradingstrategy.ai/docs/running/live-trading.html)
- [Webhook web server](https://tradingstrategy.ai/docs/running/webhook.html) for JavaScript frontend and monitoring system integration
- Deploy as [Docker container](https://tradingstrategy.ai/docs/running/cli.html)
## Prerequisites
You need to know
- Basics of Python
- Basics of trading
- [We have collected learning material for developers new to algorithmic trading](https://tradingstrategy.ai/docs/learn/index.html)
## Getting started
First study the example code
- [Code examples](https://tradingstrategy.ai/docs/programming/code-examples/running.html)
- [Trading strategy examples](https://tradingstrategy.ai/docs/programming/code-examples/running.html)
- [See TradingView PineScript porting example](https://tradingstrategy.ai/blog/avalanche-summit-ii-workshop)
## More information
- [Read documentation on running and backtesting strategies](https://tradingstrategy.ai/docs/running/index.html)
- Visit [Trading Strategy website to learn about algorithmic trading on decentralised exchanges](https://tradingstrategy.ai)
- [Join the Discord for any questions](https://tradingstrategy.ai/community)
## Installation
**Note**: The project is under active development. We recommend any developers to use Github master branch
for installations.
```shell
git clone git@github.com:tradingstrategy-ai/trade-executor.git
cd trade-executor
git submodule update --init --recursive
# Extra dependencies
# - execution: infrastructure to run live strategies
# - web-server: support webhook server of live strategy executors
# - qstrader: still needed to run legacy unit tests
poetry install -E web-server -E execution -E qstrader -E quantstats
```
Or with pip:
```shell
pip install -e ".[web-server,execution,qstrader,quantstats]"
```
## Architecture overview
Here is an example of a live trading deployment of a `trade-executor` package.
![Architecture overview](docs/deployment-overview.drawio.svg)
## Running tests
See [internal development documentation](https://tradingstrategy.ai/docs/programming/development.html).
## Community
- [Trading Strategy website](https://tradingstrategy.ai)
- [Community Discord server](https://tradingstrategy.ai/community#discord)
- [Blog](https://tradingstrategy.ai/blog)
- [Twitter](https://twitter.com/TradingProtocol)
- [Telegram channel](https://t.me/trading_protocol)
- [Newsletter](https://tradingstrategy.ai/newsletter)
## License
- AGPL
- [Contact for the commercial dual licensing](https://tradingstrategy.ai/about)
Raw data
{
"_id": null,
"home_page": "https://tradingstrategy.ai",
"name": "trade-executor",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10,<3.11",
"maintainer_email": "",
"keywords": "algorithmic trading,ethereum,cryptocurrency,uniswap,quantitative finance,binance,coinbase,pancakeswap",
"author": "Mikko Ohtamaa",
"author_email": "mikko@tradingstrategy.ai",
"download_url": "https://files.pythonhosted.org/packages/72/60/11d1f8c5768d029564d552af16d8e52b255650848d53541337225d616a9e/trade_executor-0.3.tar.gz",
"platform": null,
"description": "[![Automated test suite and Docker image build](https://github.com/tradingstrategy-ai/trade-executor/actions/workflows/test-and-build-image.yml/badge.svg)](https://github.com/tradingstrategy-ai/trade-executor/actions/workflows/test-and-build-image.yml)\n\n# Trade Executor: Algorithmic Trading Engine for DeFi \n\n`trade-executor` is a Python framework for backtesting and live execution of algorithmic trading strategies on decentralised exchanges. \n\n**Note**: This is early beta software. [Please pop in to the Discord for any questions](https://tradingstrategy.ai/community). \n\n## Features\n\n- Only trading framework that has been built grounds up for [decentralised finance](https://tradingstrategy.ai/glossary/decentralised-finance)\n- [High quality documentation](https://tradingstrategy.ai/docs/)\n- Support [decentralised markets like Uniswap, PancakeSwap](https://tradingstrategy.ai/docs/overview/supported-markets.html)\n- [Backtesting enginer](https://tradingstrategy.ai/docs/running/backtesting.html)\n- [Live trading](https://tradingstrategy.ai/docs/running/live-trading.html) \n- [Webhook web server](https://tradingstrategy.ai/docs/running/webhook.html) for JavaScript frontend and monitoring system integration\n- Deploy as [Docker container](https://tradingstrategy.ai/docs/running/cli.html)\n\n## Prerequisites\n\nYou need to know\n\n- Basics of Python \n- Basics of trading\n- [We have collected learning material for developers new to algorithmic trading](https://tradingstrategy.ai/docs/learn/index.html)\n\n## Getting started\n\nFirst study the example code\n\n- [Code examples](https://tradingstrategy.ai/docs/programming/code-examples/running.html)\n- [Trading strategy examples](https://tradingstrategy.ai/docs/programming/code-examples/running.html)\n- [See TradingView PineScript porting example](https://tradingstrategy.ai/blog/avalanche-summit-ii-workshop)\n\n## More information\n\n- [Read documentation on running and backtesting strategies](https://tradingstrategy.ai/docs/running/index.html)\n- Visit [Trading Strategy website to learn about algorithmic trading on decentralised exchanges](https://tradingstrategy.ai)\n- [Join the Discord for any questions](https://tradingstrategy.ai/community)\n\n## Installation\n\n**Note**: The project is under active development. We recommend any developers to use Github master branch\nfor installations.\n\n```shell\ngit clone git@github.com:tradingstrategy-ai/trade-executor.git\ncd trade-executor\ngit submodule update --init --recursive\n\n# Extra dependencies\n# - execution: infrastructure to run live strategies\n# - web-server: support webhook server of live strategy executors\n# - qstrader: still needed to run legacy unit tests\npoetry install -E web-server -E execution -E qstrader -E quantstats\n``` \n\nOr with pip:\n\n```shell\npip install -e \".[web-server,execution,qstrader,quantstats]\" \n```\n\n## Architecture overview\n\nHere is an example of a live trading deployment of a `trade-executor` package.\n\n![Architecture overview](docs/deployment-overview.drawio.svg)\n\n## Running tests\n\nSee [internal development documentation](https://tradingstrategy.ai/docs/programming/development.html). \n\n## Community\n\n- [Trading Strategy website](https://tradingstrategy.ai)\n- [Community Discord server](https://tradingstrategy.ai/community#discord)\n- [Blog](https://tradingstrategy.ai/blog)\n- [Twitter](https://twitter.com/TradingProtocol)\n- [Telegram channel](https://t.me/trading_protocol)\n- [Newsletter](https://tradingstrategy.ai/newsletter)\n\n## License \n\n- AGPL\n- [Contact for the commercial dual licensing](https://tradingstrategy.ai/about)\n",
"bugtrack_url": null,
"license": "APGL",
"summary": "Algorithmic trading backtesting and execution engine for decentralised finance",
"version": "0.3",
"project_urls": {
"Homepage": "https://tradingstrategy.ai",
"Repository": "https://github.com/tradingstrategy-ai/trade-executor"
},
"split_keywords": [
"algorithmic trading",
"ethereum",
"cryptocurrency",
"uniswap",
"quantitative finance",
"binance",
"coinbase",
"pancakeswap"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "13a21b2dfef385f8a6b8d9e004e0f3d567844539f9347dabd65e4cc936697e5d",
"md5": "ba816fbea6f1286b4ad0de1ebb970bf1",
"sha256": "86341aaaa05f7b1d2473138a6c0cba54d98a41a1803aefb276313ccabdef57cc"
},
"downloads": -1,
"filename": "trade_executor-0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ba816fbea6f1286b4ad0de1ebb970bf1",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10,<3.11",
"size": 405522,
"upload_time": "2023-04-29T18:52:11",
"upload_time_iso_8601": "2023-04-29T18:52:11.729109Z",
"url": "https://files.pythonhosted.org/packages/13/a2/1b2dfef385f8a6b8d9e004e0f3d567844539f9347dabd65e4cc936697e5d/trade_executor-0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "726011d1f8c5768d029564d552af16d8e52b255650848d53541337225d616a9e",
"md5": "60f00aa558091d610d510eedc51c444c",
"sha256": "8abcab3edad2d827ee3691eea64909e06236b3347c6f4a1f482d58d06b340bc7"
},
"downloads": -1,
"filename": "trade_executor-0.3.tar.gz",
"has_sig": false,
"md5_digest": "60f00aa558091d610d510eedc51c444c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10,<3.11",
"size": 320505,
"upload_time": "2023-04-29T18:52:14",
"upload_time_iso_8601": "2023-04-29T18:52:14.163480Z",
"url": "https://files.pythonhosted.org/packages/72/60/11d1f8c5768d029564d552af16d8e52b255650848d53541337225d616a9e/trade_executor-0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-29 18:52:14",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "tradingstrategy-ai",
"github_project": "trade-executor",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "trade-executor"
}