Personal project · LLM-screened equities on Robinhood
FriesTrader
A scheduled AI trading agent for a small, dedicated Robinhood Agentic account. Claude Code sessions screen US stocks and write a news-based thesis; every size, stop and limit is computed by small deterministic Python scripts the model cannot override. Built from the open-source YizhiSong/FriesTrader template.
Language Python + Markdown specsLicense MIT (upstream)Broker Robinhood Agentic Trading MCPMode dry runLive trading off
Current mode: dry run. The dedicated Robinhood Agentic account is connected and funded, and the pipeline stays in dry run: no orders are placed. The working copy is private; this public page never shows account numbers, balances, positions, dollar amounts, order IDs or fills. No performance numbers are claimed. Upstream states its reasoning step cannot be honestly backtested. Not financial advice.
Board
Hub-local task cards from repo setup through the go-live decision. Tongli owns the account and the live switch.
Dry-run log
Sanitized per-cycle summaries (counts and decisions only). Empty until the first scheduled run.
Stage checklist
- [x]Repo set up: private copy from the upstream template; sizing table moved into
risk_rules.json; execution.mode = "dry_run".
- [x]Robinhood Agentic account opened: separate, dedicated account for the agent. Funded.
- [x]Robinhood connected: official Trading MCP via OAuth; private config filled in. Order tools still to be blocked in Phase A.
- [x]Watchlist created: a dedicated Robinhood watchlist for FriesTrader. Symbols still to be added.
- [ ]Dry-run days logged: 0 of 10 (repo minimum 10; target 4–6 weeks of reviewed dry runs).
- [ ]Live: only if Tongli flips
execution.mode by hand after reviewing the dry runs.
How the pipeline works
- Phase A: screen & thesis (weekdays after close, ~4:30pm CT). Starts from a Robinhood watchlist, a saved scan and current holdings. Filters out illiquid, penny, leveraged/inverse and below-200-day-average names. Only stocks with a notable signal (a big 60-day move, a volume spike, or near a 52-week extreme) get a news search. The model then writes a long / avoid / exit call with a rubric-based conviction (high / medium / low). Places no orders.
- Phase B: re-verify & enforce (weekdays shortly after the open, ~8:35am CT). Sells run first (stop-loss, take-profit, trims, exits). Buys must then pass an entry gate (not too far above the thesis price or the 20-day average, and no wash-sale or re-entry lock). Candidates are ranked by conviction and sized by fixed percentages. Every order is previewed first; in dry run it is only logged.
Risk rules, in plain words
- Position size is a fixed share of the account per conviction tier, capped per position, with a maximum number of open positions and a minimum cash buffer.
- Stop-loss scales with each stock’s recent volatility, clamped to a band. After any profit-taking it trails the high instead of the entry price. Note: it is checked once per trading day, not as a resting order.
- Take-profit sells a quarter of the position at each of three gain tiers.
- Loss limits halt new buys after a daily or weekly drawdown threshold.
- Live-order gate: a real order needs
mode = "live" (set only by the human), at least 10 logged dry-run days, and a clean broker preview.
External links