
AI-Powered Autonomous Trading & Risk Management System is an end-to-end algorithmic trading platform built using Alpaca's trading and market-data APIs. The system is designed to make trading decisions through a structured pipeline rather than relying on a single signal. It analyzes market conditions and identifies the current market regime, generates trading strategies, evaluates risk, selects appropriate options contracts when required, and uses an AI analyst to provide reasoning for potential trades. A self-criticism layer evaluates the AI-generated decision before execution. The risk engine then applies portfolio and position-level controls so that trades are only considered for execution when the required conditions are satisfied. The platform supports Alpaca paper trading, allowing the complete execution workflow to be tested without risking real capital. It includes order management, order monitoring, portfolio monitoring, trade journaling, decision-state tracking, and execution monitoring. The project also includes backtesting and parameter-validation components to evaluate strategies against historical market data and generate performance and trade-audit data. A Streamlit dashboard provides a centralized view of the system, including account and portfolio information, positions and orders, trade history, AI decisions, execution status, and system state. Key components: AI market/trade analysis AI self-criticism and decision validation Market regime detection Strategy engine Options contract scanning and selection Options pricing Risk management and portfolio monitoring Alpaca paper-trading execution Order and execution monitoring Backtesting and parameter validation Trade journal and decision tracking Interactive Streamlit dashboard The goal is to create a modular, explainable, and risk-aware trading architecture that connects research, decision-making, validation, execution, and monitoring into a single system.
4 Sep 2026