{"uid":"cap_dZdJxMlvrfBAocPmBPqMy","slug":"halowerk-linear-contract-margin-calculator-57ca9963","name":"HALOWERK Linear Contract Margin Calculator","description":"Margin-Referenz für lineare Kontrakte. Notional / Hebel; keine Broker-Marginstaffeln. 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/margin?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"lots":{"type":"number","maximum":1000000000000,"minimum":1e-12},"price":{"type":"number","maximum":1000000000000,"minimum":1e-12},"leverage":{"type":"number","maximum":1000000000000,"minimum":1e-12},"contract_size":{"type":"number","maximum":1000000000000,"minimum":1e-12},"quote_to_account":{"type":"number","maximum":1000000000000,"minimum":1e-12}}},"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_stigaXILKJZPg1Jsp8MC-","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 required margin for linear futures/CFD contracts using notional value divided by leverage, with caller-supplied parameters only.","exampleAgentPrompt":"Calculate the required margin for a linear contract: 2 lots, price of 48000, leverage 20x, contract size 1, and quote-to-account rate of 1.","exampleUseCases":[{"title":"Crypto futures margin pre-trade check","prompt":"Before I place a trade, can you figure out how much margin I need? It's a linear BTC futures contract — 0.5 lots, current price 67000, contract size 1, leverage 10x, and my account is already in USD so the quote-to-account rate is 1."},{"title":"Forex CFD position sizing","prompt":"I'm looking at a EUR/USD linear CFD: 3 lots, price 1.085, contract size 100000, leverage 30, and the quote-to-account conversion is 1 since my account is in USD. What margin do I need to put up?"},{"title":"Multi-leverage margin comparison","prompt":"Can you calculate the margin required for a linear contract at price 5000 with 1 lot and contract size 10, first at 5x leverage and then at 25x leverage — quote-to-account rate is 0.92?"}],"resultDescription":"Returns the computed margin requirement for the linear contract position, expressed as notional value divided by leverage, optionally converted to account currency via the caller-supplied quote_to_account rate. No live market data is fetched; all figures are purely derived from caller-supplied inputs.","failureModes":["Missing required parameters (lots, price, leverage, contract_size) returns validation error","Values outside allowed range (e.g. leverage below 1e-12 or above 1e12) rejected","quote_to_account not provided may cause result in quote currency only","Zero or negative effective leverage causes division error","Non-numeric input values rejected with schema validation error"],"whenToPreferThis":"Use this endpoint when you need a pure arithmetic margin calculation for linear contracts (notional/leverage) without any broker integration, live pricing, or account-specific margin tier logic. Ideal for pre-trade sizing checks, backtesting pipelines, or agent workflows that already have all market data and want a stateless, deterministic margin figure. Not suitable when broker-specific margin schedules, tiered margin, or live price feeds are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T12:46:26.655Z","isFirstParty":false,"canonicalSlug":"halowerk-linear-contract-margin-calculator-57ca9963"}