Back to Projects

Algorithmic Trading Platform

Event-driven trading platform with real-time market data streaming and automated execution via microservices architecture.

January 1, 2025
PythonEvent-DrivenMicroservicesFinance

Overview

A personal side project building an event-driven algorithmic trading platform. Features real-time market data ingestion and automated trade execution through a loosely coupled microservices architecture.

Architecture

  • Gateway Service: Connects to Alpaca WebSocket for real-time market data, publishes events to NATS JetStream message bus
  • Event System: CloudEvents-compliant messaging for loose coupling between components
  • Backtesting: Historical simulation engine for strategy validation before live deployment
  • Strategy Profiles: Multiple configurable profiles with different risk/reward parameters

Technologies

Python, Alpaca API, NATS JetStream, CloudEvents, Pandas, NumPy, asyncio, Docker