SystemSelf reportedCryptoPythonalgorithmic-tradingbacktestingbotcryptocrypto-bot

grid_trading_bot

πŸ€– Open-source cryptocurrency trading bot designed to perform grid trading strategies using historical data for backtesting

System Structure

Data Used
BinanceBybitKrakenccxt 지원 κ±°λž˜μ†ŒOHLCV/ν˜Έκ°€/체결 데이터
Rules / Strategy

μ €μž₯μ†Œλ³„ μ „λž΅/μ‹€ν–‰ 쑰건 확인 ν•„μš”

Execution

κ±°λž˜μ†Œ API 기반 μžλ™ μ£Όλ¬Έ μ‹€ν–‰

Editor Summary

μ €μž₯μ†Œ μ„€λͺ…κ³Ό 곡개 메타데이터 κΈ°μ€€μœΌλ‘œ Python 기반 κ΅¬ν˜„, μ•”ν˜Έν™”ν 거래 봇, κ±°λž˜μ†Œ API/ν”„λ ˆμž„μ›Œν¬, λ°±ν…ŒμŠ€νŠΈ μ„±κ²©μ˜ ν”„λ‘œμ νŠΈλ‘œ νŒŒμ•…ν–ˆμŠ΅λ‹ˆλ‹€. 확인 κ·Όκ±°λŠ” README, μ €μž₯μ†Œ ν† ν”½, μ €μž₯μ†Œ μ„€λͺ…, GitHub μ§€ν‘œ, νŒŒμ΄ν”„λΌμΈ ν•„λ“œμ΄λ©°, μ£Όμš” λ°μ΄ν„°λŠ” Binance, Bybit, Kraken, ccxt 지원 κ±°λž˜μ†Œ, OHLCV/ν˜Έκ°€/체결 λ°μ΄ν„°μž…λ‹ˆλ‹€. μ „λž΅/μ‹€ν–‰ 쑰건은 μ €μž₯μ†Œλ³„ λ¬Έμ„œμ™€ μ½”λ“œ 확인이 ν•„μš”ν•˜λ©°, μ‹€ν–‰ 방식은 "κ±°λž˜μ†Œ API 기반 μžλ™ μ£Όλ¬Έ μ‹€ν–‰"라고 보수적으둜 κΈ°λ‘ν–ˆμŠ΅λ‹ˆλ‹€. GitHub μ§€ν‘œλŠ” 별 138개, 포크 57κ°œμž…λ‹ˆλ‹€.

Repositoryjordantete/grid_trading_bot
Creatorjordantete
Stars / Forksβ˜… 138 / 57
LicenseMIT
Last Updated2026-07-07
Snapshot Date2026-07-08 (README below is a copy from this date)

This is third-party open-source code. QuantField does not guarantee its behavior or safety. Review the code before installing or running it.

README


How It Works

Define a price range and number of grid levels. The bot places layered buy and sell orders across the range, capturing profit from every price oscillation β€” no prediction needed.

  1. Configure your grid (pair, range, levels, spacing) in a single JSON file
  2. Backtest against historical data to validate the strategy
  3. Paper trade on exchange sandboxes with real market data
  4. Go live with crash recovery, real-time monitoring, and alerts

Features

Backtesting Simulate strategies on historical OHLCV data (CSV or fetched via CCXT)
Paper Trading Test against real market data using exchange sandbox APIs
Live Trading Execute real trades with retry logic, exponential backoff, and circuit breakers
Grid Strategies Simple grid and hedged grid with arithmetic or geometric spacing
Risk Management Configurable take-profit, stop-loss, and slippage controls
Performance Analytics ROI, max drawdown, Sharpe ratio, interactive Plotly charts
Crash Recovery SQLite state persistence with exchange reconciliation on restart
Monitoring Grafana dashboards with Loki log aggregation via Docker Compose