QASIX-Alpaca AI Trading Agent

Streamlit
application badge
Created by team QASIX on August 31, 2026
Options Alpha Agents

Alpaca AI Trading Agent is an autonomous, explainable options trading agent built for the Alpaca AI Trading Agents Hackathon. It is designed around one core idea: the AI proposes, but it never has the final word. Each cycle, the agent pulls live market data and technical indicators from Alpaca's Trading and Market Data APIs, including live options chains with real strikes, expirations, implied volatility, and Greeks. Google Gemini evaluates this data and proposes a structured decision, buy, sell, hold, or opening a covered call or cash-secured put always with a confidence score and a written, data-grounded rationale. Gemini's proposal then passes through a fully deterministic risk manager that never simply trusts its claims. It independently re-verifies eligibility (does the account actually hold 100+ shares for a covered call, does it actually have enough cash for a cash-secured put), enforces position-sizing limits, caps open positions, and applies a daily loss circuit breaker. A separate, equally deterministic exit engine manages open positions with stop-loss and take-profit rules, so risk discipline covers both entries and exits. Every decision is logged, including the ones the risk manager blocks. Nothing is hidden after the fact. The live dashboard shows account state, open positions with full payoff and collateral detail, a full decision history, and closed-trade performance stats, so the reasoning behind every trade or every refusal to trade, is fully auditable. Technically, the project integrates Alpaca's official CLI for live order execution and account status alongside its Python SDK for market data, satisfying the hackathon's requirement to use Alpaca's MCP server or CLI tooling. It runs entirely on free infrastructure: Alpaca's paper trading environment and Google Gemini's free tier, with a Streamlit dashboard deployed publicly so anyone can watch the agent think in real time. Built by Team QASIX.

Category tags: