A production AI agent that observes market conditions, evaluates signals, manages risk, and executes paper trades without human intervention — every hour the market is open.
Most AI projects in a portfolio are prototypes — things that worked once, in a controlled environment, on a good day. This is not that.
This system runs on the Alpaca Markets paper trading API, pulls live market data every hour, evaluates 10 equities against a multi-signal strategy, and places real simulated orders. The dashboard updates in real time. The risk manager has hard limits. The trade log persists across sessions.
It was built, debugged, backtested, and parameter-tuned in a single session. The parameters running live today were selected after a sweep across 4 configurations and 365 days of hourly data across 4 symbols.
Every hourly tick runs each symbol through the same decision tree. The strategy requires multiple conditions to align — it doesn't trade noise.
Price must be above the 50-bar SMA. No buys in downtrending stocks. This single filter eliminates the majority of losing setups.
RSI(14) below 40 signals a short-term oversold condition within an uptrend. Buying weakness, not strength.
9-bar SMA crossing above 21-bar SMA, confirmed by positive MACD histogram. Momentum-based entry requiring two signals to agree.
Once in a position, peak price is tracked. A 3.5% drop from peak triggers exit. Locks in gains on winners, limits losses on losers.
RSI overbought above 65, MA cross down, or MACD turning negative triggers a sell after minimum hold period of 3 bars.
Adjust the parameters and see how strategy behavior changes. Runs the actual trading logic against synthetic market data generated from real statistical properties.
Every autonomous system that touches money needs hard limits that can't be reasoned around. These are the live parameters running on the paper account today.
Maximum loss per position before forced exit. No exceptions, no overrides.
Tracks peak price from entry. Locks in gains as the position moves in your favor.
Circuit breaker. If realized losses hit 5% of portfolio value, no new trades fire for the rest of the day.
No single position exceeds 10% of available cash. Enforced at order placement.
This isn't an AI strategy exercise. It's a production deployment of an autonomous decision-making agent — with a data pipeline, a signal engine, a risk layer, a state manager, an API integration, and a monitoring interface.
That stack is structurally identical to any enterprise AI agent: ingest data, evaluate against rules, manage state, execute actions, observe outputs. The domain is financial markets. The pattern is universal.