ToolAssay

Pre-trade check of a perpetual-futures order against the caller's own rules

Pre-trade check of a perpetual-futures order against the caller's own rules: each rule passes or fails with its numbers, then GO / CAUTION / WAIT with machine-readable reasons. Adds isolated liquidation distance per venue and whether it hits before the stop, fees, accuracy needed to break even over the hold, funding by venue and the market regime. Informational only: places no orders and holds no funds.

Answeringour last check, 2026-11-26
7 of 7checks answered this week
1739 msmedian answer time
$0.02listed price per call
$0.02price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://api.algovault.com/x402/pre_trade_check

CategoryMarket data
Provider hostapi.algovault.com
Networkseip155:10, eip155:8453
Payment schemesexact
Self-reported calls, 30 days2 from 2 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.02 1603 ms
2026-11-25 valid payment request 402$0.02 1774 ms
2026-11-24 valid payment request 402$0.02 1670 ms
2026-11-23 valid payment request 402$0.02 1843 ms
2026-11-22 valid payment request 402$0.02 1721 ms
2026-11-21 valid payment request 402$0.02 1739 ms
2026-11-20 valid payment request 402$0.02 1745 ms
2026-11-19 valid payment request 402$0.02 1715 ms
2026-11-18 valid payment request 402$0.02 1665 ms
2026-11-17 valid payment request 402$0.02 1580 ms
2026-11-16 valid payment request 402$0.02 1607 ms
2026-11-15 valid payment request 402$0.02 1501 ms
2026-11-14 valid payment request 402$0.02 1747 ms
2026-11-13 valid payment request 402$0.02 1641 ms
2026-11-12 valid payment request 402$0.02 1648 ms
2026-11-11 valid payment request 402$0.02 1761 ms
2026-11-10 valid payment request 402$0.02 1737 ms
2026-11-09 valid payment request 402$0.02 1652 ms

Example input (from the provider)

{
  "body": {
    "coin": "BTC",
    "holdHours": 8,
    "side": "long",
    "sizeUsd": 10000
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "coin": {
              "description": "Asset symbol, e.g. BTC, ETH, SOL.",
              "maxLength": 20,
              "minLength": 1,
              "type": "string"
            },
            "equityUsd": {
              "description": "Account equity in USD. Enables the percent-of-equity rules.",
              "exclusiveMinimum": 0,
              "maximum": 10000000000,
              "type": "number"
            },
            "exchanges": {
              "description": "Only compare these venues (default: every supported venue).",
              "items": {
                "enum": [
                  "HL",
                  "BINANCE",
                  "BYBIT",
                  "OKX",
                  "BITGET",
                  "ASTER",
                  "BINGX",
                  "GATE",
                  "HTX",
                  "KUCOIN",
                  "MEXC",
                  "PHEMEX",
                  "WHITEBIT",
                  "XT",
                  "WEEX"
                ],
                "type": "string"
              },
              "maxItems": 15,
              "minItems": 1,
              "type": "array",
              "uniqueItems": true
            },
            "holdHours": {
              "default": 8,
              "description": "Expected holding time in hours (default 8); sets the funding cost window.",
              "maximum": 720,
              "minimum": 0.25,
              "type": "number"
            },
            "leverage": {
              "description": "Isolated leverage you will use, e.g. 10. Enables the liquidation checks.",
              "maximum": 200,
              "minimum": 1,
              "type": "number"
            },
            "orderType": {
              "default": "market",
              "description": "market (taker entry) or limit (maker entry). Default market.",
              "enum": [
                "market",
                "limit"
              ],
              "type": "string"
            },
            "rules": {
              "additionalProperties": false,
              "description": "Your rules, each key optional. Saved rules apply too; a failed one returns WAIT.",
              "properties": {
                "maxAccuracyNeededPct": {
                  "description": "Highest direction accuracy, in percent, needed to break even.",
                  "maximum": 100,
                  "minimum": 50,
                  "type": "number"
                },
                "maxDailyMovePctEquity": {
                  "description": "Largest equity swing, in percent, from a one-sigma daily move.",
                  "maximum": 100,
                  "minimum": 0,
                  "type": "number"
                },
                "maxFundingBps": {
                  "description": "Highest funding over the hold, in bps. Default 10.",
                  "maximum": 10000,
                  "minimum": 0,
                  "type": "number"
                },
                "maxLeverage": {
                  "description": "Highest leverage you allow.",
                  "maximum": 200,
                  "minimum": 1,
                  "type": "number"
                },
                "maxLossAtStopPctEquity": {
                  "description": "Most equity, in percent, you accept losing at your stop.",
                  "maximum": 100,
                  "minimum": 0,
                  "type": "number"
                },
                "maxRoundTripBps": {
                  "description": "Highest round trip in fees plus spread, in bps.",
                  "maximum": 1000,
                  "minimum": 0,
                  "type": "number"
                },
                "maxSizePctOf24hVolume": {
                  "description": "Largest order as a percent of a venue's 24h volume. Default 0.1.",
                  "exclusiveMinimum": 0,
                  "maximum": 100,
                  "type": "number"
                },
                "minLiqDistanceSigma": {
                  "description": "Liquidation at least this many hold-period volatilities away.",
                  "maximum": 50,
                  "minimum": 0,
                  "type": "number"
                },
                "noLiqBeforeStop": {
                  "description": "Fail if liquidation would come before your stop. Default on.",
                  "type": "boolean"
                },
                "regimeCheck": {
                  "description": "Flag a regime against your side or a volatile one. Default on.",
                  "type": "boolean"
                }
              },
              "type": "object"
            },
            "side": {
              "description": "Direction of the order you intend to place: long or short.",
              "enum": [
                "long",
                "short"
              ],
              "type": "string"
            },
            "sizeUsd": {
              "description": "Order notional in USD, e.g. 10000.",
              "exclusiveMinimum": 0,
              "maximum": 100000000,
              "type": "number"
            },
            "stopPct": {
              "description": "Stop-loss distance from entry in percent, e.g. 2.",
              "maximum": 50,
              "minimum": 0.01,
              "type": "number"
            },
            "targetPct": {
              "description": "Target distance from entry in percent, e.g. 4.",
              "maximum": 1000,
              "minimum": 0.01,
              "type": "number"
            },
            "timeframe": {
              "default": "4h",
              "description": "Market-regime timeframe: 1h, 4h or 1d (default 4h).",
              "enum": [
                "1h",
                

This page as JSON