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.24.2.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

trading_strategy-0.24.2-py3-none-any.whl (2.3 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trading_strategy-0.24.2.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.10 Darwin/24.0.0

File hashes

Hashes for trading_strategy-0.24.2.tar.gz
Algorithm Hash digest
SHA256 263d5c705a972c1b8d8be655876b11dc9d364857826361fe23fbcc2faefda188
MD5 04bf680652e458d5769d6a7eb177d9fa
BLAKE2b-256 20c110c2268dc9024a1dbfa730ac03d83e8e75e8ef43d694208669c03b36a123

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for trading_strategy-0.24.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e0ecd802f294bf2eaaebac127d782470ccf050648906967cb295a06f67958449
MD5 fbbaff1b190201447a26d38029c3af58
BLAKE2b-256 21b0c450fe143b803c36f083c52b96dbdd5c45c9ecf4acc5bcd7ca5309687857

See more details on using hashes here.

Supported by

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