trading-strategy


Nametrading-strategy JSON
Version 0.22.11 PyPI version JSON
download
home_pagehttps://tradingstrategy.ai
SummaryAlgorithmic trading, token and cryptocurrency DEX trading data, for Uniswap, Aave, PancakeSwap, Sushi, Trader Joe, others
upload_time2024-04-23 09:29:16
maintainerNone
docs_urlNone
authorMikko Ohtamaa
requires_python<=3.12,>=3.10
licenseAGPL
keywords algorithmic trading ethereum polygon avalanche aave arbitrum cryptocurrency uniswap quantitative finance binance blockchain pancakeswap polygon web3
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![PyPI version](https://badge.fury.io/py/trading-strategy.svg)](https://badge.fury.io/py/trading-strategy)

[![CI Status](https://github.com/tradingstrategy-ai/trading-strategy/actions/workflows/python-app.yml/badge.svg)](https://github.com/tradingstrategy-ai/trading-strategy/actions/workflows/python-app.yml)

[![pip installation works](https://github.com/tradingstrategy-ai/trading-strategy/actions/workflows/pip-install.yml/badge.svg)](https://github.com/tradingstrategy-ai/trading-strategy/actions/workflows/pip-install.yml)

<a href="https://tradingstrategy.ai">
  <img src="https://raw.githubusercontent.com/tradingstrategy-ai/trading-strategy/master/logo.svg" width="384">
</a>

# Trading Strategy framework for Python

Trading Strategy framework is a Python framework for algorithmic trading on decentralised exchanges. 
It is using [backtesting data](https://tradingstrategy.ai/trading-view/backtesting) and [real-time price feeds](https://tradingstrategy.ai/trading-view)
from [Trading Strategy Protocol](https://tradingstrategy.ai/). 

# Use cases

* Analyse cryptocurrency investment opportunities on [decentralised exchanges (DEXes)](https://tradingstrategy.ai/trading-view/exchanges)

* Creating trading algorithms and trading bots that trade on DEXes

* Deploy trading strategies as on-chain smart contracts where users can invest and withdraw with their wallets

# Features

* Supports multiple blockchains like [Ethereum mainnet](https://tradingstrategy.ai/trading-view/ethereum), 
  [Binance Smart Chain](https://tradingstrategy.ai/trading-view/binance) and 
  [Polygon](https://tradingstrategy.ai/trading-view/polygon)

* Access trading data from on-chain decentralised exchanges like
  [SushiSwap](https://tradingstrategy.ai/trading-view/ethereum/sushi), [QuickSwap](https://tradingstrategy.ai/trading-view/polygon/quickswap) and [PancakeSwap](https://tradingstrategy.ai/trading-view/binance/pancakeswap-v2)

* Integration with Jupyter Notebook for easy manipulation of data.
  See [example notebooks](https://tradingstrategy.ai/docs/programming/code-examples/index.html).

* Write [algorithmic trading strategies](https://tradingstrategy.ai/docs/programming/strategy-examples/index.html) for  decentralised exchange 

# Getting started 

See [the Getting Started tutorial](https://tradingstrategy.ai/docs/programming/code-examples/getting-started.html) and the rest of the [Trading Strategy documentation](https://tradingstrategy.ai/docs/).
The easiest way to get started is ready [Dev Container for Visual Studio Code](https://tradingstrategy.ai/docs/programming/setting-up-development-environment/dev-container/visual-studio-code-docker-dev-container-for-jupyter-notebooks.html).

# Prerequisites

* Python 3.10

* [Understanding Python package management and installation](https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/)
  (unless using Dev Container from teh above)

# Installing the package

You can install this package with 

[Poetry](https://python-poetry.org/) as a dependency:

```shell
poetry add trading-strategy -E direct-feed
```

Poetry, local development:

```shell
poetry install -E direct-feed
```

Pip:

```shell
pip install "trading-strategy[direct-feed]" 
```

**Note**: `trading-strategy` package provides trading data
download and management functionality only. If you want to [developed
automated trading strategies you need to install trade-executor package as well](https://github.com/tradingstrategy-ai/trade-executor/).

# Documentation

- [Documentation](https://tradingstrategy.ai/docs/).

- [Getting started](https://tradingstrategy.ai/docs/getting-started.html).

Community
---------

* [Trading Strategy website](https://tradingstrategy.ai)

* [Blog](https://tradingstrategy.ai/blog)

* [Twitter](https://twitter.com/TradingProtocol)

* [Discord](https://tradingstrategy.ai/community#discord) 

* [Telegram channel](https://t.me/trading_protocol)

* [Changelog and version history](https://github.com/tradingstrategy-ai/trading-strategy/blob/master/CHANGELOG.md)

[Read more documentation how to develop this package](https://tradingstrategy.ai/docs/programming/development.html).

# License

GNU AGPL 3.0. 

            

Raw data

            {
    "_id": null,
    "home_page": "https://tradingstrategy.ai",
    "name": "trading-strategy",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<=3.12,>=3.10",
    "maintainer_email": null,
    "keywords": "algorithmic trading, ethereum, polygon, avalanche, aave, arbitrum, cryptocurrency, uniswap, quantitative finance, binance, blockchain, pancakeswap, polygon, web3",
    "author": "Mikko Ohtamaa",
    "author_email": "mikko@tradingstrategy.ai",
    "download_url": "https://files.pythonhosted.org/packages/3a/91/7785136f55f145711548d17f9ae230d61cd06aac6883352f04ac83872578/trading_strategy-0.22.11.tar.gz",
    "platform": null,
    "description": "[![PyPI version](https://badge.fury.io/py/trading-strategy.svg)](https://badge.fury.io/py/trading-strategy)\n\n[![CI Status](https://github.com/tradingstrategy-ai/trading-strategy/actions/workflows/python-app.yml/badge.svg)](https://github.com/tradingstrategy-ai/trading-strategy/actions/workflows/python-app.yml)\n\n[![pip installation works](https://github.com/tradingstrategy-ai/trading-strategy/actions/workflows/pip-install.yml/badge.svg)](https://github.com/tradingstrategy-ai/trading-strategy/actions/workflows/pip-install.yml)\n\n<a href=\"https://tradingstrategy.ai\">\n  <img src=\"https://raw.githubusercontent.com/tradingstrategy-ai/trading-strategy/master/logo.svg\" width=\"384\">\n</a>\n\n# Trading Strategy framework for Python\n\nTrading Strategy framework is a Python framework for algorithmic trading on decentralised exchanges. \nIt is using [backtesting data](https://tradingstrategy.ai/trading-view/backtesting) and [real-time price feeds](https://tradingstrategy.ai/trading-view)\nfrom [Trading Strategy Protocol](https://tradingstrategy.ai/). \n\n# Use cases\n\n* Analyse cryptocurrency investment opportunities on [decentralised exchanges (DEXes)](https://tradingstrategy.ai/trading-view/exchanges)\n\n* Creating trading algorithms and trading bots that trade on DEXes\n\n* Deploy trading strategies as on-chain smart contracts where users can invest and withdraw with their wallets\n\n# Features\n\n* Supports multiple blockchains like [Ethereum mainnet](https://tradingstrategy.ai/trading-view/ethereum), \n  [Binance Smart Chain](https://tradingstrategy.ai/trading-view/binance) and \n  [Polygon](https://tradingstrategy.ai/trading-view/polygon)\n\n* Access trading data from on-chain decentralised exchanges like\n  [SushiSwap](https://tradingstrategy.ai/trading-view/ethereum/sushi), [QuickSwap](https://tradingstrategy.ai/trading-view/polygon/quickswap) and [PancakeSwap](https://tradingstrategy.ai/trading-view/binance/pancakeswap-v2)\n\n* Integration with Jupyter Notebook for easy manipulation of data.\n  See [example notebooks](https://tradingstrategy.ai/docs/programming/code-examples/index.html).\n\n* Write [algorithmic trading strategies](https://tradingstrategy.ai/docs/programming/strategy-examples/index.html) for  decentralised exchange \n\n# Getting started \n\nSee [the Getting Started tutorial](https://tradingstrategy.ai/docs/programming/code-examples/getting-started.html) and the rest of the [Trading Strategy documentation](https://tradingstrategy.ai/docs/).\nThe easiest way to get started is ready [Dev Container for Visual Studio Code](https://tradingstrategy.ai/docs/programming/setting-up-development-environment/dev-container/visual-studio-code-docker-dev-container-for-jupyter-notebooks.html).\n\n# Prerequisites\n\n* Python 3.10\n\n* [Understanding Python package management and installation](https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/)\n  (unless using Dev Container from teh above)\n\n# Installing the package\n\nYou can install this package with \n\n[Poetry](https://python-poetry.org/) as a dependency:\n\n```shell\npoetry add trading-strategy -E direct-feed\n```\n\nPoetry, local development:\n\n```shell\npoetry install -E direct-feed\n```\n\nPip:\n\n```shell\npip install \"trading-strategy[direct-feed]\" \n```\n\n**Note**: `trading-strategy` package provides trading data\ndownload and management functionality only. If you want to [developed\nautomated trading strategies you need to install trade-executor package as well](https://github.com/tradingstrategy-ai/trade-executor/).\n\n# Documentation\n\n- [Documentation](https://tradingstrategy.ai/docs/).\n\n- [Getting started](https://tradingstrategy.ai/docs/getting-started.html).\n\nCommunity\n---------\n\n* [Trading Strategy website](https://tradingstrategy.ai)\n\n* [Blog](https://tradingstrategy.ai/blog)\n\n* [Twitter](https://twitter.com/TradingProtocol)\n\n* [Discord](https://tradingstrategy.ai/community#discord) \n\n* [Telegram channel](https://t.me/trading_protocol)\n\n* [Changelog and version history](https://github.com/tradingstrategy-ai/trading-strategy/blob/master/CHANGELOG.md)\n\n[Read more documentation how to develop this package](https://tradingstrategy.ai/docs/programming/development.html).\n\n# License\n\nGNU AGPL 3.0. \n",
    "bugtrack_url": null,
    "license": "AGPL",
    "summary": "Algorithmic trading, token and cryptocurrency DEX trading data, for Uniswap, Aave, PancakeSwap, Sushi, Trader Joe, others",
    "version": "0.22.11",
    "project_urls": {
        "Changelog": "https://github.com/tradingstrategy-ai/web3-ethereum-defi/blob/master/CHANGELOG.md",
        "Discord": "https://discord.gg/5M88m9nM8H",
        "Documentation": "https://tradingstrategy.ai/docs/",
        "Homepage": "https://tradingstrategy.ai",
        "Repository": "https://github.com/tradingstrategy-ai/trading-strategy",
        "Sponsor": "https://tradingstrategy.ai",
        "Twitter": "https://twitter.com/tradingprotocol",
        "Youtube": "https://www.youtube.com/@tradingstrategyprotocol"
    },
    "split_keywords": [
        "algorithmic trading",
        " ethereum",
        " polygon",
        " avalanche",
        " aave",
        " arbitrum",
        " cryptocurrency",
        " uniswap",
        " quantitative finance",
        " binance",
        " blockchain",
        " pancakeswap",
        " polygon",
        " web3"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3afa2517541d6c3ee0a805288ff3b2e9c229fc819a2c37c72954dde514a97d6c",
                "md5": "8a20f2593bcac0edab981e08852fab0c",
                "sha256": "9d9279ee28dcce1d053dc77426a73832d1852d17c647847541630eb6847b65b2"
            },
            "downloads": -1,
            "filename": "trading_strategy-0.22.11-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8a20f2593bcac0edab981e08852fab0c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<=3.12,>=3.10",
            "size": 376024,
            "upload_time": "2024-04-23T09:26:22",
            "upload_time_iso_8601": "2024-04-23T09:26:22.036834Z",
            "url": "https://files.pythonhosted.org/packages/3a/fa/2517541d6c3ee0a805288ff3b2e9c229fc819a2c37c72954dde514a97d6c/trading_strategy-0.22.11-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3a917785136f55f145711548d17f9ae230d61cd06aac6883352f04ac83872578",
                "md5": "7cdf407de621227b3160c5c3bece648d",
                "sha256": "7c12e1f2608f41eb97b4a735ebcfff70dabce57f1b232a7883cc73563182d0f1"
            },
            "downloads": -1,
            "filename": "trading_strategy-0.22.11.tar.gz",
            "has_sig": false,
            "md5_digest": "7cdf407de621227b3160c5c3bece648d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<=3.12,>=3.10",
            "size": 244457,
            "upload_time": "2024-04-23T09:29:16",
            "upload_time_iso_8601": "2024-04-23T09:29:16.028010Z",
            "url": "https://files.pythonhosted.org/packages/3a/91/7785136f55f145711548d17f9ae230d61cd06aac6883352f04ac83872578/trading_strategy-0.22.11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-23 09:29:16",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "tradingstrategy-ai",
    "github_project": "web3-ethereum-defi",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "trading-strategy"
}
        
Elapsed time: 0.32630s