This project is an autonomous AI trading agent created for the Alpaca AI Trading Agents Hackathon 2026, designed to demonstrate the future of algorithmic trading. Built on Alpaca’s paper trading platform, the agent combines advanced technical analysis indicators (RSI, MACD, Bollinger Bands, moving averages) with options trading strategies such as bull call and bull put spreads, enabling defined‑risk trading decisions. The system runs continuously, monitoring market conditions, generating signals, and executing trades without human intervention.A strong focus is placed on risk management, including position sizing based on account equity, daily loss limits, automatic stop‑loss and profit‑taking, and confidence‑based scaling. These safeguards ensure controlled exposure and minimize drawdowns while maintaining consistent performance. The agent is configured for a $100,000 paper trading account, with default risk per trade set at 2% of equity and a daily loss cap of $5,000. To improve usability, the project includes a Streamlit dashboard that provides real‑time monitoring of account metrics, open positions, market signals, and risk indicators. Users can track portfolio value, buying power, leverage, and recent orders, while visualizations display signal distributions and daily loss tracking. All trading activity is comprehensively logged in both text and CSV formats for performance analysis. The system is modular and scalable, with separate components for strategy logic, Alpaca API utilities, and dashboard visualization. Configuration parameters such as trading symbols, confidence thresholds, and risk tolerance can be easily adjusted via .env or directly in the agent script.
Category tags: