Home

Awesome

PyPI version

CI Status

pip installation works

<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.

The trading-strategy library provides data fetching for backtesting and live trading.

It is using backtesting data and real-time price feeds from Trading Strategy Protocol.

Use cases

Features

Getting started

See the Getting Started repository and the rest of the Trading Strategy documentation.

Prerequisites

Installing the package

You can install this package with

Poetry as a dependency:

poetry add trading-strategy -E direct-feed

Poetry, local development:

poetry install -E direct-feed

Pip:

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.

Documentation

Community

Read more documentation how to develop this package.

License

GNU AGPL 3.0.