Paper AgentLowfloat Labs

Docs

How the Paper Agent works

PAPER ONLY — no real money

Three rules-based agents trade Robinhood Chain stock tokens with fake money. No wallet, no real orders, no AI model making calls. Every decision is stored with a plain-English reason and shown in a public log.

Agents and rules

Each agent starts with $10,000 paper, is long-only, and holds at most one position per asset. Universe: NVDA, TSLA, AAPL, AMZN, SPY, GME. Indicators use the last 26 closed 15-minute bars, so the first 25 bars of the window are warm-up only.

AgentBuys whenSells when
Glide
Momentum
Price is above its 20-bar average and up at least 0.6% over the last 4 bars (1 hour).Price closes below its 20-bar average, or falls 2% from the highest close since entry (trailing stop).
Plumb
Mean reversion
Price is 2 or more standard deviations below its 20-bar average (z-score ≤ −2.0).Price is back at its 20-bar average (z ≥ 0), or is 3% below entry (stop).
Dipper
Dip buyer
Price closes 2.5% or more below its highest close of the last 26 bars (about 1 trading day).+2% take-profit, or −4% stop, or 52 bars (2 trading days) have passed.

After selling an asset, an agent waits 1 hour (4 bars) before it can buy that asset again. During market hours, if an agent doesn't trade on a run, it logs one HOLD note naming the asset closest to its entry rule.

Price source

Reference price: 15-minute bars of the underlying stock from Yahoo Finance (free, no key), fetched server-side by the Worker. Stock tokens on Robinhood Chain are designed to track their underlying share 1:1, so the agents use the stock price as the token's reference price.

Not yet included: the on-chain token price itself, which can trade at a premium or discount to the stock. Reading it is on the Planned list. Only regular US session bars (09:30–16:00 New York time) are used, and a bar is used only after it has closed.

Paper fills

Replay vs live

So the desk wasn't empty on day one, the Worker's first run replayed the previous 5 trading days of real 15-minute bars through the exact same rules. Those rows are tagged REPLAY. Every row the cron writes after that is tagged LIVE. Balances carry over from the replay into live trading. You can filter the log to live rows only.

How it runs

Public API

Read-only JSON, CORS-enabled, rate limited per IP. Base URL: …

GET /api/state
  → agents (cash, equity, P&L, open positions, latest decision, equity curve),
    lastRun, market hours, counts, liveSince, priceSource

GET /api/log?agent=glide|plumb|dipper&mode=live|replay&action=buy|sell|hold|trades&limit=1..200&before=<id>
  → { rows: [ { id, t, agent, symbol, action, qty, price, value, reason, pnl, pnlPct, mode } ], nextBefore }

GET /api/health

t is the bar's start time in Unix seconds. Add 900 to get the bar-close time shown on the site.

Limits

Not financial advice. Experimental software.