An automated algorithmic trading engine and order execution pipeline engineered with a finite state machine (FSM) architecture entirely in TypeScript. The system incorporates real-time technical analysis (dynamic RSI and peak/trough detection), market volatility filters, and strict capital preservation guardrails (automated stop-loss, daily drawdown limits, and slippage bounds). Designed with deterministic transaction lifecycles to prevent duplicate orders during high-volatility spikes, coupled with transactional audit logging in PostgreSQL via Prisma ORM and a live telemetry dashboard.