MarginPad · Schema

SimProfile

Send any subset. Out-of-range values are refused, not clamped. GET the endpoint for what each field changes.

CryptocurrencyTradingEducationPaper Trading

Properties

Name Type Description
preset string A ready-made configuration. Starts from the defaults, so it is a clean slate plus that venue.
reset boolean true = back to the engine defaults.
start_balance_usd number The book your results are measured against.
margin_enforced boolean true = an open over free margin is refused 402 insufficient_margin, as a venue refuses it.
leverage_max number Your own leverage ceiling. 0 = the per-market cap.
max_notional_usd number Your own ceiling on one position’s notional. 0 = none.
slippage boolean Fill against yourself the way walking a real book does.
slippage_bps numbernull Your own crossing cost in basis points instead of our measured table. null = the table.
impact_bps_per_100k number Extra basis points per $100,000 of notional, because size walks further down the book.
exit_slippage boolean Pay the crossing cost on the way out too. A stop, take-profit or liquidation still fills at its own level.
latency_ms number Your order is in flight this long, and the price is re-read afterwards.
partial_fills boolean Allow a market order to fill less than it asked for.
min_fill_pct number The worst fill ratio with partial_fills on.
reject_rate_pct number Share of opens refused 503 venue_rejected on purpose.
taker_bps numbernull Your own per-side fee in basis points. null = the venue from POST /v1/fees, or our class rate.
funding boolean false = never charge funding, which is how you separate an execution edge from a carry edge.
funding_mult number Scale the real 8-hourly funding rate.
margin_venue string Whose published maintenance-margin rate decides where liquidation sits. ’’ = MarginPad’s 0.5%.
margin_tiers boolean Raise maintenance margin with size, so a large position liquidates sooner.
mmr_pct numbernull Your own maintenance margin, beating margin_venue.
View JSON Schema on GitHub

JSON Schema

marginpad-io-sim-profile-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/marginpad-io/json-schema/marginpad-io-sim-profile-schema.json",
  "title": "SimProfile",
  "description": "Send any subset. Out-of-range values are refused, not clamped. GET the endpoint for what each field changes.",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/marginpad-io-openapi.json#/components/schemas/SimProfile",
  "type": "object",
  "properties": {
    "preset": {
      "type": "string",
      "enum": [
        "frictionless",
        "realistic",
        "binance",
        "bybit",
        "okx",
        "hyperliquid",
        "thin_book",
        "brutal"
      ],
      "description": "A ready-made configuration. Starts from the defaults, so it is a clean slate plus that venue."
    },
    "reset": {
      "type": "boolean",
      "description": "true = back to the engine defaults."
    },
    "start_balance_usd": {
      "type": "number",
      "minimum": 100,
      "maximum": 10000000,
      "default": 10000,
      "description": "The book your results are measured against."
    },
    "margin_enforced": {
      "type": "boolean",
      "default": false,
      "description": "true = an open over free margin is refused 402 insufficient_margin, as a venue refuses it."
    },
    "leverage_max": {
      "type": "number",
      "minimum": 0,
      "maximum": 10000,
      "default": 0,
      "description": "Your own leverage ceiling. 0 = the per-market cap."
    },
    "max_notional_usd": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000000,
      "default": 0,
      "description": "Your own ceiling on one position’s notional. 0 = none."
    },
    "slippage": {
      "type": "boolean",
      "default": false,
      "description": "Fill against yourself the way walking a real book does."
    },
    "slippage_bps": {
      "type": [
        "number",
        "null"
      ],
      "minimum": 0,
      "maximum": 500,
      "description": "Your own crossing cost in basis points instead of our measured table. null = the table."
    },
    "impact_bps_per_100k": {
      "type": "number",
      "minimum": 0,
      "maximum": 500,
      "default": 0,
      "description": "Extra basis points per $100,000 of notional, because size walks further down the book."
    },
    "exit_slippage": {
      "type": "boolean",
      "default": true,
      "description": "Pay the crossing cost on the way out too. A stop, take-profit or liquidation still fills at its own level."
    },
    "latency_ms": {
      "type": "number",
      "minimum": 0,
      "maximum": 2000,
      "default": 0,
      "description": "Your order is in flight this long, and the price is re-read afterwards."
    },
    "partial_fills": {
      "type": "boolean",
      "default": false,
      "description": "Allow a market order to fill less than it asked for."
    },
    "min_fill_pct": {
      "type": "number",
      "minimum": 10,
      "maximum": 100,
      "default": 100,
      "description": "The worst fill ratio with partial_fills on."
    },
    "reject_rate_pct": {
      "type": "number",
      "minimum": 0,
      "maximum": 50,
      "default": 0,
      "description": "Share of opens refused 503 venue_rejected on purpose."
    },
    "taker_bps": {
      "type": [
        "number",
        "null"
      ],
      "minimum": 0,
      "maximum": 100,
      "description": "Your own per-side fee in basis points. null = the venue from POST /v1/fees, or our class rate."
    },
    "funding": {
      "type": "boolean",
      "default": true,
      "description": "false = never charge funding, which is how you separate an execution edge from a carry edge."
    },
    "funding_mult": {
      "type": "number",
      "minimum": 0,
      "maximum": 5,
      "default": 1,
      "description": "Scale the real 8-hourly funding rate."
    },
    "margin_venue": {
      "type": "string",
      "description": "Whose published maintenance-margin rate decides where liquidation sits. ’’ = MarginPad’s 0.5%."
    },
    "margin_tiers": {
      "type": "boolean",
      "default": false,
      "description": "Raise maintenance margin with size, so a large position liquidates sooner."
    },
    "mmr_pct": {
      "type": [
        "number",
        "null"
      ],
      "minimum": 0.05,
      "maximum": 10,
      "description": "Your own maintenance margin, beating margin_venue."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/marginpad-io-sim-profile"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.