Skip to main content

Algorithmic trading data for cryptocurrencies and DEXes like Uniswap, Aave and PancakeSwap

Project description

PyPI version

CI Status

pip installation works

Trading Strategy framework for Python

Trading Strategy framework is a Python framework for algorithmic trading on decentralised exchanges.

  • Download decentralised finance market data sets
  • Develop and backtest trading strategies in Jupyter Notebook
  • Live trade execution for onchain trading
  • Smart contract vault support for turning your trading strategy to a third-party investable vault

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

  • Analyse cryptocurrency investment opportunities on decentralised exchanges (DEXes)

  • 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

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.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trading_strategy-0.26.2.tar.gz (30.9 MB view details)

Uploaded Source

Built Distribution

trading_strategy-0.26.2-py3-none-any.whl (31.9 MB view details)

Uploaded Python 3

File details

Details for the file trading_strategy-0.26.2.tar.gz.

File metadata

  • Download URL: trading_strategy-0.26.2.tar.gz
  • Upload date:
  • Size: 30.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.11.10 Darwin/24.2.0

File hashes

Hashes for trading_strategy-0.26.2.tar.gz
Algorithm Hash digest
SHA256 f17b9ed7068b6c76bc4978246a990909e8ff4c002b3909b204b7769a911d28e9
MD5 d024e254cada966b99326757e46cffdf
BLAKE2b-256 f5df9b2aa342175a46403170e6c706492d47e219ab5a124b63bfac7c1b5f9dc0

See more details on using hashes here.

File details

Details for the file trading_strategy-0.26.2-py3-none-any.whl.

File metadata

  • Download URL: trading_strategy-0.26.2-py3-none-any.whl
  • Upload date:
  • Size: 31.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.11.10 Darwin/24.2.0

File hashes

Hashes for trading_strategy-0.26.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d3ec822f552969e11162aae4d09a18f8cc864bd88cb7805ba94f148b069b9294
MD5 e29cf440b65f636ee0884f0eba2937b3
BLAKE2b-256 9d563ec0106d3f60c82db6a73b7903b9a2899632534e0449484f96ab6289ea23

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page