{"uid":"cap_u0R_MR51uGCNsP4-Z4i1q","slug":"halowerk-liquidation-price-calculator-15b9f5be","name":"HALOWERK Liquidation Price Calculator","description":"Liquidationsreferenz für lineare Positionen. Löst Equity = Maintenance plus Schließgebühr. Cross hält andere PnL und Maintenance konstant. Keine inversen Kontrakte, Börsenstaffeln oder Garantie eines tatsächlichen Liquidationskurses. Alle Zahlen, Kurse und Vorgaben liefert der Aufrufer. Keine eigenen Kursdaten, kein Brokerzugriff, keine Ausführung. Rechenwerkzeug, keine Anlageberatung, keine Empfehlung.","url":"https://handel.halowerk.com/v1/rechner/liquidation?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"enum":["isolated","cross"],"type":"string"},"entry":{"type":"number","maximum":1000000000000,"minimum":1e-12},"leverage":{"type":"number","maximum":1000000000000,"minimum":1e-12},"quantity":{"type":"number","maximum":1000000000000,"minimum":1e-12},"direction":{"enum":[-1,1],"type":"integer"},"other_pnl":{"type":"number","maximum":1000000000000,"minimum":-1000000000000},"collateral_cash":{"type":"number","maximum":1000000000000,"minimum":0},"closing_fee_rate":{"type":"number","maximum":0.99,"minimum":0},"maintenance_rate":{"type":"number","maximum":0.99,"minimum":0},"other_maintenance":{"type":"number","maximum":1000000000000,"minimum":0}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vdAZOJ4z8Qmt6Wm4Fl3az","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the liquidation price for linear perpetual/futures positions in either isolated or cross margin mode by solving the equity-equals-maintenance equation.","exampleAgentPrompt":"Calculate the liquidation price for a long isolated-margin position: entry price 30000, leverage 10x, quantity 0.5, collateral cash 1500, maintenance rate 0.5%, and closing fee rate 0.04%.","exampleUseCases":[{"title":"Long position liquidation check before entry","prompt":"I'm about to open a long isolated-margin position on BTC at an entry of 28000 with 20x leverage, quantity 0.2, collateral of 280, maintenance rate 0.5%, and closing fee rate 0.04% — what price would I get liquidated at?"},{"title":"Cross margin liquidation with multiple positions","prompt":"I have a cross-margin short position: entry 2000, leverage 5x, quantity 3, collateral cash 1200, maintenance rate 0.5%, closing fee rate 0.04%, other PnL of -150, and other maintenance of 60 — compute the liquidation price."},{"title":"Risk management sanity check for algo trading bot","prompt":"Before my bot places a trade, I need the liquidation price for a short isolated position: entry 1.25, leverage 50x, quantity 10000, collateral 250, maintenance rate 0.5%, closing fee 0.04% — what is the liquidation level?"}],"resultDescription":"Returns the computed liquidation price as a number — the price at which the account equity equals the maintenance margin plus closing fee, triggering liquidation. No market data, brokerage access, or trade execution is involved; this is a pure mathematical result based on the caller-supplied inputs.","failureModes":["Invalid or missing required fields (mode, entry, leverage, quantity, direction) return a validation error","Out-of-range values (e.g. leverage or entry below minimum threshold) are rejected","Negative collateral_cash is rejected (minimum is 0)","Fee rates at or above 1.0 are rejected (maximum 0.99)","Inverse contracts, tiered exchange fee schedules, and guaranteed liquidation prices are explicitly out of scope","Result may not match actual broker liquidation price due to simplified model assumptions"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic mathematical computation of a liquidation price for a linear (non-inverse) perpetual or futures position in isolated or cross margin mode, and you already have all the required parameters (entry, leverage, quantity, collateral, rates). It does not provide market data, broker connectivity, or investment advice — it is purely a calculation tool. Prefer it over generic calculators when you need programmatic, fee-aware liquidation math with cross-margin support via other_pnl and other_maintenance fields.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T06:44:25.226Z","isFirstParty":false,"canonicalSlug":"halowerk-liquidation-price-calculator-15b9f5be"}