Project Type
Internal / Personal Trading System
Category
Python Automation & AI
Modern markets generate enormous amounts of data across hundreds of tickers simultaneously. Manually monitoring even a handful of signals across different timeframes is impractical — by the time a human spots an opportunity, the window has often already closed.
The core challenge was multifaceted:
Off-the-shelf trading platforms lacked the flexibility for truly custom strategy logic. A bespoke system was needed.
We built a fully autonomous Python system from the ground up — designed to operate independently as a self-sustaining trading engine. The architecture separates concerns cleanly: market data ingestion, strategy evaluation, order execution, and performance reporting each live in their own module.
The system connects to live market data via the Alpaca API, continuously scans configured instruments, and evaluates each against a library of pluggable strategies. When a signal fires, the execution engine submits the appropriate order automatically and logs the result.
Before any strategy touches live capital, it runs through the backtesting engine against historical price data — giving a clear statistical picture of expected win rate, drawdown, and return characteristics. Scheduled via cron for fully hands-off operation, with a performance dashboard for monitoring without needing to touch the code.
Continuously polls live price data across configured tickers, evaluating technical indicators and signal conditions in real time.
Runs any strategy against years of historical OHLCV data to produce win rate, max drawdown, Sharpe ratio, and cumulative return metrics before going live.
Pluggable strategy architecture supports momentum, mean reversion, breakout, and custom logic. Strategies can be toggled, adjusted, and added without touching the core engine.
When a strategy fires a signal, the execution engine submits market or limit orders via the Alpaca API automatically — no human action required.
Matplotlib-powered charts and an SQLite trade log provide a full picture of P&L, trade history, and strategy performance over any time period.
Configurable position sizing, max daily loss limits, and stop-loss logic prevent runaway losses. The system halts trading automatically if risk thresholds are breached.
24/7
Continuous Operation
15+
Strategies Backtested
100%
Automated Execution
Whether you need a trading system, data pipeline, or any kind of automation — I build it right and make it last.
Let's Talk