Skip to main content

Algorithmic Trading Toolkit — data collection, indicators, strategy, simulation, and live trading

Project description

AlgoTradeKit

Algorithmic Trading Toolkit — collect market data, build indicators and strategies, backtest, and trade live.

pip install AlgoTradeKit

Modules

Module Status Description
data ✅ v0.1.0 Collect OHLCV candles from exchanges
indicator 🔜 planned RSI, EMA, MACD, Bollinger Bands, and custom indicators
strategy 🔜 planned Build and combine trading strategies
simulate 🔜 planned Backtest strategies on historical data
trade 🔜 planned Live trading via exchange API or MT5
visual 🔜 planned Candlestick charts, indicators, live streaming

Quick Start

Collect candle data

from AlgoTradeKit.data import Collector

collector = Collector(source="binance-futures", symbol="BTCUSDT", timeframe="1d")
collector.destination = "data/"
collector.starttime   = "2020/01/01"
collector.collect()

Output:

[AlgoTradeKit] Symbol     : BTCUSDT
[AlgoTradeKit] Source     : binance-futures
[AlgoTradeKit] Timeframe  : 1 Day  (1d)
[AlgoTradeKit] Range      : 2020-01-01 00:00 UTC  →  2026-05-26 00:00 UTC
[AlgoTradeKit] Output     : data/binance-futures_BTCUSDT_1d.csv
[AlgoTradeKit] Existing file : none — starting fresh
[AlgoTradeKit] Found 1 gap(s) to fill

    [██████████████████████████████]  2,338 candles fetched

[AlgoTradeKit] ✓ Saved  2,338 candles  →  data/binance-futures_BTCUSDT_1d.csv

Run it again — it only fetches what's missing:

[AlgoTradeKit] ✓ Everything is up to date — nothing to download.

Supported sources

Source key Market
"binance-spot" Binance Spot
"binance-futures" Binance USD-M Futures

Supported timeframes

1m 3m 5m 15m 30m 1h 2h 4h 6h 8h 12h 1d 3d 1w 1M

Collector options

collector = Collector(source="binance-spot", symbol="ETHUSDT", timeframe="4h")

collector.destination = "data/"           # folder to save CSV (default: ./)
collector.outputname  = "eth_4h.csv"      # custom filename (auto-generated if not set)
collector.starttime   = "2021/01/01"      # required — YYYY/MM/DD or YYYY-MM-DD
collector.endtime     = "2023/01/01"      # optional — defaults to now

collector.collect()                        # returns path to the saved CSV

Installation

Requires Python 3.10+

pip install AlgoTradeKit

For development:

git clone https://github.com/YOUR_USERNAME/AlgoTradeKit.git
cd AlgoTradeKit
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"

Requirements

  • pandas >= 2.0
  • requests >= 2.28

Roadmap

  • MEXC Spot & Futures
  • MetaTrader 5 (MT5)
  • Bybit, OKX
  • indicator module — RSI, EMA, MACD, Bollinger Bands
  • strategy module — strategy builder with entry/exit logic
  • simulate module — backtesting engine with full report
  • trade module — live trading via exchange API / MT5
  • visual module — charts, live candlestick stream via WebSocket

License

MIT — see LICENSE

Project details


Download files

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

Source Distribution

algotradekit-0.1.0.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

algotradekit-0.1.0-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file algotradekit-0.1.0.tar.gz.

File metadata

  • Download URL: algotradekit-0.1.0.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for algotradekit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bfad9c870521f871c48deebc123fe83478e2196479819ce491434a541b12c3f3
MD5 8e3c2296d320a260bfe3ee0683880cc5
BLAKE2b-256 8eceaeb5ed1db115c6ab63f9d9b882827e7e085afee9ccc9051e9817c12ea614

See more details on using hashes here.

Provenance

The following attestation bundles were made for algotradekit-0.1.0.tar.gz:

Publisher: publish.yml on AmirMohammadBazdar/AlgoTradeKit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file algotradekit-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: algotradekit-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for algotradekit-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b69833abe990421942ef1d459c978149fad28675c831365c18bac62e47d43584
MD5 554dfee614ee7ba38b5601b0103925d8
BLAKE2b-256 78b754af2f4011392475598fb3b88f91d4d91ccf1ebbc65374fb0be6c35bc75b

See more details on using hashes here.

Provenance

The following attestation bundles were made for algotradekit-0.1.0-py3-none-any.whl:

Publisher: publish.yml on AmirMohammadBazdar/AlgoTradeKit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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