Back to Projects
PythonActive · 2025

Trading Bot

An algorithmic trading bot that combines technical indicators with ML predictions to automate stock and crypto trades — running live on paper-trading accounts.

View on GitHub
Trading Bot thumbnail

Overview

The bot ingests real-time OHLCV data and news sentiment feeds, runs a signal pipeline of technical indicators (RSI, MACD, Bollinger Bands), and feeds the results into a lightweight gradient-boosted classifier to decide buy / sell / hold actions. Trade execution is handled via the Alpaca API for equities and CCXT for crypto.

Features

  • Live paper-trading with Alpaca Markets & Binance via CCXT
  • Multi-timeframe signal confluence (1m, 5m, 1h, 1d)
  • Gradient-boosted ML model trained on 8 years of price history
  • Telegram notifications for trade executions and P&L reports
  • Risk management: ATR-based stop-loss, max daily drawdown limits
  • Backtesting harness with Zipline + custom performance metrics

Tech Stack

PythonAlpaca APICCXTXGBoostPandasTA-LibPostgreSQLTelegram Bot API