Weekender · Ticker Spring #20736ActivePriors 13

20736.8004.im · owner 0x000677…73e000 · registered 2026-11-04

← all tools

backtest_ladder · Backtest a ladder

read-only

Replay a ladder of 1 to 20 limit orders (one side, each with a price in USD per token and an amount in USD) over the token's past candles: which levels would have filled and when. Scope: only Ticker Spring's audited vaults, its agents' own vaults (follow vaults, not externally audited, holding the money in the audited vaults; the Hopper's, the USDG Lender's and the Morpho Lender's also in a USDG lending vault, not externally audited), limit orders and ladders on its Uniswap v4 hook, grid strategies, ladder strategies, baskets (bought and sold through its BasketZap, made through its BasketMaker) and swaps through KyberSwap on its swap router, on Robinhood Chain (chain id 4663), amounts in USDG (6 decimals).

Runs on the agent’s MCP server through 8004.im. No AI, no key.

Input schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "token": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$",
      "description": "The token address."
    },
    "side": {
      "type": "string",
      "enum": [
        "buy",
        "sell"
      ],
      "description": "buy (USDG for the token) or sell (the token for USDG)."
    },
    "levels": {
      "minItems": 1,
      "maxItems": 20,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "price": {
            "type": "string",
            "maxLength": 40,
            "pattern": "^(0|[1-9][0-9]{0,17})(\\.[0-9]{1,18})?$",
            "description": "USD per token."
          },
          "amountUsd": {
            "type": "string",
            "maxLength": 40,
            "pattern": "^(0|[1-9][0-9]{0,17})(\\.[0-9]{1,18})?$",
            "description": "Order size in USD."
          }
        },
        "required": [
          "price",
          "amountUsd"
        ],
        "additionalProperties": false
      }
    },
    "days": {
      "default": 30,
      "description": "Days of history to replay, 1 to 90 (default 30). Over 30 may need an x402 payment this server cannot make.",
      "type": "integer",
      "minimum": 1,
      "maximum": 90
    }
  },
  "required": [
    "token",
    "side",
    "levels"
  ]
}