Zum Inhalt
HALOWERK

Marktwerk

arbitrage

Walks the visible book of every requested exchange for the given size, in both directions, and works out what remains of the raw spread: gross_spread_bps from top of book, then the taker fee of the entry tier on both sides, then the slippage the size causes on the buy book and on the sell book. net_spread_bps is the headline number, the gross value stands next to it because on its own it is misleading. Transfer costs are the part no public exchange interface publishes without a key: withdraw.

POST https://markt.halowerk.com/arbitrage

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
symbolstringJaTrading pair as BASE/QUOTE, for example ETH/USDT.
venuesarrayNeinExchanges to compare. Without it all connected ones are used.
sizenumberJaSize in BASE that would be bought on one venue and sold on the other.
include_transferbooleanNeinWhether transfer costs must be part of the verdict. They cannot be sourced publicly, so true keeps viable at null.
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "symbol",
    "size"
  ],
  "additionalProperties": false,
  "properties": {
    "symbol": {
      "type": "string",
      "pattern": "^[A-Za-z0-9]{2,15}/[A-Za-z0-9]{2,15}$",
      "description": "Trading pair as BASE/QUOTE, for example ETH/USDT."
    },
    "venues": {
      "type": "array",
      "minItems": 2,
      "maxItems": 5,
      "uniqueItems": true,
      "items": {
        "type": "string",
        "enum": [
          "binance",
          "coinbase",
          "kraken",
          "okx",
          "bybit"
        ]
      },
      "description": "Exchanges to compare. Without it all connected ones are used."
    },
    "size": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Size in BASE that would be bought on one venue and sold on the other."
    },
    "include_transfer": {
      "type": "boolean",
      "default": true,
      "description": "Whether transfer costs must be part of the verdict. They cannot be sourced publicly, so true keeps viable at null."
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "symbol": "AA/AA",
  "size": 0.1,
  "include_transfer": true
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →