Skip to main content

Algorithmic trading, token and cryptocurrency DEX trading data, for Uniswap, Aave, PancakeSwap, Sushi, Trader Joe, others

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. 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 tutorial and the rest of the Trading Strategy documentation. The easiest way to get started is ready Dev Container for Visual Studio Code.

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

This version

0.21

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.21.tar.gz (233.9 kB view details)

Uploaded Source

Built Distribution

trading_strategy-0.21-py3-none-any.whl (365.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trading_strategy-0.21.tar.gz
  • Upload date:
  • Size: 233.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Darwin/23.1.0

File hashes

Hashes for trading_strategy-0.21.tar.gz
Algorithm Hash digest
SHA256 02a4118e95ef78e6950565f655cbe27d0bfaad1ed9b6a95d5bf43c087adaa021
MD5 b07bfd54c5c8126838c8ae841621a41d
BLAKE2b-256 02c21904e8d194f82b3264ac42e3d618a922a5aec0addcf3266cd2fc0e14f8c5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: trading_strategy-0.21-py3-none-any.whl
  • Upload date:
  • Size: 365.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Darwin/23.1.0

File hashes

Hashes for trading_strategy-0.21-py3-none-any.whl
Algorithm Hash digest
SHA256 315d8d38a028bb858bb1c9f12c75cabc0d7d903b99fe51c098dce87d17daea08
MD5 8fbac7dd7b08d272e0917b2798ae55ab
BLAKE2b-256 71f4c11dc2235eb404295907768189a562e781f461084980d89e7b89f3a45ccb

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