Skip to content
Launching soon on Robinhood Chain.
Inband
Build

(Docs)

Build, prove, run. From the site, your code or your AI.

Everything Inband does is available over a REST API, an MCP server and a TypeScript SDK. Compile and backtest work without signing in.

Updated Nov 25, 2026

How it works

Write a strategy in plain English. Inband turns it into rules the agent follows and a band of on-chain limits. Every strategy is proven before it touches money: a backtest on a year of real prices, a public shadow run on live prices, then live.

  • Write

    The compiler reads your text into a strategy spec: when it checks (ET market time), the conditions (change over N days, price vs its N-day average, drawdown from a high, RSI, price level), the action (buy a size, sell part of a position, rebalance to weights, rotate into the top N by return) and the risk (position cap, stop loss, take profit, orders a day). Only the live Stock Tokens: AAPL, NVDA, TSLA, MSFT, AMZN, GOOGL, META, SPY, QQQ, COIN, against USDG. It refuses leverage, shorting, other assets and guaranteed-return language.

  • Prove

    Backtest: 12 months of real daily closes, fills at the close with the pinned pool's fee, a 0.10 % spread and the impact on the pool's real depth, against an equal-weight holding of the same tickers. Shadow: a paper book on live prices for 7 days at least, in public, every decision in the journal. Ranking in the store needs a complete shadow.

  • Run

    A mandate is one contract per agent holding your USDG and Stock Tokens. The agent can only swap USDG for the allowed Stock Tokens and back, inside the band. Money only ever leaves to you. Above your line, every order waits for your signature.

  • Share

    Publish a version to the store with a creator fee from 0 to 20 % of realised profit above a high-water mark, paid by the contract. Others install a copy into their own mandate with their own limits. Remixes credit their parent.

The nine rules

Checked by the mandate on every order, in this order. The same checks run in the backtest and the shadow, so what you see there is what live would do.

  • R01Agent key

    Only the agent named in the mandate can place orders. You can revoke it at once; a new agent applies after 24 hours.

  • R02Pause

    You can pause the agent at any time. Withdrawals to you work even while paused.

  • R03Assets

    Only the band's Stock Tokens, and the other leg is always USDG.

  • R04Market open

    Orders only in the US equity session (never from Saturday 00:00 to Monday 01:00 UTC); the asset's price feed, and the USDG feed, must be fresh and not paused by the issuer: a stale or paused feed means the market is closed for that asset.

  • R05Order cap

    No single order above the order cap, in % of the mandate's value at the oracle price.

  • R06Trading budget

    A budget in % of the mandate that each order spends and that refills linearly over 24 hours. A full budget can be spent, then spent again as it refills, so a busy 24 hours can trade up to twice the budget.

  • R07Position cap

    After a buy, no asset is above the position cap.

  • R08Slippage

    Every swap fills within the slippage limit of the oracle price, before its deadline.

  • R09Your line

    Orders above your line need your EIP-712 signature (or your pre-approval). Each order executes once.

The band

Your limits, written on chain in % of the mandate. Tightening applies at once; loosening waits 24 hours, and you can cancel it.

  • Suggested band

    The compiler suggests a band from the spec: order cap = the largest order the rules place (a whole position for exits, with 20 % headroom), position cap = the spec's maximum, trading budget = order cap × orders a day (200 % at most, refilling over 24 hours), slippage 1 %, your line at 10 % of the mandate.

  • Bounds

    Order cap up to 100 %, trading budget up to 200 %, position cap up to 100 %, slippage from 0.1 to 3 %, line from 0 to 100 % (or never).

Fees

Fees are a share of realised profit above a high-water mark, never of deposits.

  • Creator fee

    Set by the creator at publish, 0 to 20 %, fixed for every mandate that installs the version.

  • Platform fee

    2.5 % of the same profit (5 % at most on chain), fixed per mandate at creation. Platform fees buy back and burn INBAND.

  • Settlement

    At most once every 7 days anyone can call settle(): if the mandate's gain (value minus net deposits) is above its high-water mark, the fees are paid on the difference and the mark moves up. No gain above the mark, no fee.

API

JSON over HTTPS at https://inband.live/api/v1. Reads are open (CORS); writes from the site use your wallet session. Daily quotas per connection, more signed in, more for INBAND holders.

  • Compile

    Plain English → spec, suggested band, explanation, warnings, version hash. 422 with reasons when refused.

    Compile
    curl -X POST https://inband.live/api/v1/compile -H 'content-type: application/json' \
      -d '{"text":"Every Friday at 15:50 ET buy SPY with 5% of the mandate while SPY is above its 100-day average."}'
  • Backtest

    A version by hash (or a spec): the 12-month curve vs holding, the record and the latest decisions.

    Backtest
    curl -X POST https://inband.live/api/v1/backtest -H 'content-type: application/json' -d '{"hash":"0x…"}'
  • Store and strategies

    GET /strategies (?ticker=, ?stage=), /strategies/{hash}, /strategies/{hash}/journal, /install/{hash}.

    Store and strategies
    curl https://inband.live/api/v1/strategies?stage=shadow
  • Mandates and approvals

    GET /mandates, /mandates/{address}, /mandates/{address}/journal; GET /approvals/{id} for the typed data, POST {signature} to sign (owner only).

  • Everything else

    GET /home, /prices (the hero series and live quotes), /proof, /token, /me (signed in). POST /publish {hash, feePct, parent?, signature?}, /shadow/start {hash}. Sign in: POST /auth/nonce {address} → sign the message → POST /auth/verify.

  • Version hash

    hash = keccak256(UTF-8 canonical JSON of {band, spec, text}: object keys sorted at every level, no whitespace). Anyone can recompute it from the published text, spec and band.

MCP

Model Context Protocol over streamable HTTP at https://inband.live/mcp (stateless, no auth). GET shows the server card.

  • Tools

    compile_strategy, backtest_strategy, list_strategies, get_strategy, get_journal, get_mandate, install_terms

  • Connect

    Any MCP client that speaks HTTP.

    Connect
    {
      "mcpServers": {
        "inband": {
          "type": "http",
          "url": "https://inband.live/mcp"
        }
      }
    }

SDK

One TypeScript file with no dependencies: https://inband.live/sdk/inband.ts.

  • Use

    Compile, backtest and read the store from any runtime with fetch.

    Use
    import { Inband } from 'https://inband.live/sdk/inband.ts'
    const inband = new Inband()
    const draft = await inband.compile('Hold QQQ while it trades above its 50-day average, otherwise stay in cash.')
    const bt = await inband.backtest(draft.hash)
    console.log(bt.record.totalPct, bt.record.benchPct)

On chain

Robinhood Chain (chain id 4663).

  • Assets

    AAPL, NVDA, TSLA, MSFT, AMZN, GOOGL, META, SPY, QQQ, COIN: Stock Tokens with a Chainlink feed and a pinned Uniswap V3 pool against USDG (0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168).

  • Swaps

    Through Uniswap SwapRouter02 (0xcaf681a66d020601342297493863e78c959e5cb2) exactInputSingle on each asset's pinned pool, back into the mandate.

  • Contracts

    Launching soon on Robinhood Chain: until the contracts are live, strategies run in backtest and shadow, and mandates come with launch.

Risks

Inband is software, not investment advice. Strategies can lose money; past results, backtests and shadow runs do not predict future results. Stock Tokens are only available in eligible regions.

  • Market

    Stock Tokens move with their stocks and can fall. A rule that worked on last year's prices can fail on next year's.

  • Execution

    Pools can be thin and feeds can pause; orders outside your slippage or with a stale price are declined, not forced.

  • Contracts

    Smart contracts can have bugs. The mandate keeps money paths minimal: swaps through the router back into the mandate, withdrawals only to you.

  • Eligibility

    Stock Tokens are only available in eligible regions. You are responsible for following the rules where you live.