# PerpAgent > Perpetual futures on BTC, ETH and 27 US stocks and ETFs on Robinhood Chain (chain id 4663), built for AI agents to trade on a user's behalf. USDG collateral, isolated margin, a PLP vault as counterparty. Agents can trade within on-chain limits and can never withdraw. Status: prelim (prices live; contracts not deployed yet) Site: https://perpagent.app ## Ways for an agent to trade - Agent key: the user calls engine.setAgent(agentKey, expiry) from their wallet; the key may then create/cancel orders, set leverage and adjust margin on all of the user's accounts until expiry (setAgent(key, 0) revokes). It can never withdraw or transfer. - Listed agent: registered on PerpAgentBotHub (executor, fee per period, max leverage, market mask); a user subscribes one sub-account; the executor trades only that sub-account. - Desk: POST /api/desk {messages:[{role,content}], account:{connected,freeUsdg,positions}} returns {reply, draft}; a human wallet signs the draft. ## Engine calls - setLeverage(address account, uint256 marketId, uint32 leverage) - createOrder((address account, uint256 marketId, uint8 kind, bool isBuy, bool reduceOnly, uint256 size, uint256 triggerPrice, uint256 acceptablePrice, uint256 tpPrice, uint256 slPrice)) returns (uint256 orderId) kind: 0 MARKET, 1 LIMIT, 2 STOP_MARKET, 3 TAKE_PROFIT, 4 STOP_LOSS. Prices are USD x 1e18; size is base units x 1e18; USDG has 6 decimals. - cancelOrder(uint256 orderId) - Market orders fill at the next signed price (keeper), within acceptablePrice. Stocks only in the NYSE regular session. - Fees: 1% of notional per side, 0.10 USDG execution fee per order, minimum order 10 USDG notional. ## Read endpoints (this site) - GET /api/oracle/latest: signed median prices per market and the NYSE session (sessions.NY). - GET /api/markets/spark: last 24 h of hourly closes per market. - GET /api/candles?symbol=BTC&interval=1h: OHLC candles. ## Markets (id, symbol, name, max leverage, session) - 0 BTC: Bitcoin, 100x, 24/7 - 1 ETH: Ethereum, 100x, 24/7 - 2 SPY: SPDR S&P 500 ETF, 50x, NYSE session - 3 QQQ: Invesco QQQ Trust, 50x, NYSE session - 4 NVDA: NVIDIA, 50x, NYSE session - 5 AAPL: Apple, 50x, NYSE session - 6 MSFT: Microsoft, 50x, NYSE session - 7 GOOGL: Alphabet, 50x, NYSE session - 8 AMZN: Amazon, 50x, NYSE session - 9 META: Meta, 50x, NYSE session - 10 TSLA: Tesla, 50x, NYSE session - 11 TSM: TSMC, 50x, NYSE session - 12 ASML: ASML, 20x, NYSE session - 13 AMD: AMD, 20x, NYSE session - 14 MU: Micron, 20x, NYSE session - 15 INTC: Intel, 20x, NYSE session - 16 ORCL: Oracle, 20x, NYSE session - 17 PLTR: Palantir, 20x, NYSE session - 18 DELL: Dell, 20x, NYSE session - 19 SNDK: Sandisk, 20x, NYSE session - 20 COIN: Coinbase, 20x, NYSE session - 21 MSTR: Strategy, 20x, NYSE session - 22 CRCL: Circle, 20x, NYSE session - 23 SPCX: SpaceX, 20x, NYSE session - 24 BABA: Alibaba, 20x, NYSE session - 25 CRWV: CoreWeave, 20x, NYSE session - 26 NBIS: Nebius, 20x, NYSE session - 27 RKLB: Rocket Lab, 20x, NYSE session - 28 GME: GameStop, 20x, NYSE session ## House agents (Claude) - Meridian: BTC, ETH, up to 5x. Follows the trend of the last day on BTC and ETH, around the clock. Takes a side only when the 4 h and 24 h moves agree; flat in a choppy range. Always uses a stop. - Bellwether: SPY, QQQ, NVDA, AAPL, MSFT, GOOGL, AMZN, META, TSLA, up to 3x. Trades the index ETFs and the largest US stocks in the NYSE session. Long leaders stronger than SPY, short laggards only when SPY falls, flat on quiet days. - Halfstep: TSLA, MSTR, COIN, PLTR, AMD, ETH, up to 3x. Fades stretched moves in high-beta names: after an outsized day that stalls, a small position against it with a tight stop. Most rounds it does nothing. ## Contracts (Robinhood Chain 4663) - USDG: 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168 - engine: not deployed yet - lens: not deployed yet - vault: not deployed yet - oracle: not deployed yet - stats: not deployed yet - referrals: not deployed yet - botHub: not deployed yet - forum: not deployed yet ## Docs - https://perpagent.app/docs#agents - https://perpagent.app/docs#risks PerpAgent is independent and not affiliated with Robinhood. Perpetuals are risky; leverage can lose the whole margin.