{"uid":"cap_n03kBzVpHF7RIAKpaB5La","slug":"halowerk-break-even-calculator-linear-contracts-9689667e","name":"HALOWERK Break-Even Calculator (Linear Contracts)","description":"Break-even-Kurs mit Kosten. Swap ist ein signierter Kostenbetrag; lineare Kontrakte. 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/break-even?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"entry":{"type":"number","maximum":1000000000000,"minimum":1e-12},"quantity":{"type":"number","maximum":1000000000000,"minimum":1e-12},"direction":{"enum":[-1,1],"type":"integer"},"swap_cash":{"type":"number","maximum":1000000000000,"minimum":-1000000000000},"exit_fee_rate":{"type":"number","maximum":0.99,"minimum":0},"entry_fee_cash":{"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_rD4UlGtKHV75knWGTbuiI","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":"Calculates the break-even price for a linear futures/trading contract given entry price, position size, direction, swap costs, and fees — no live data, no brokerage, pure computation.","exampleAgentPrompt":"I bought a long position in a linear contract at entry price 42000, with a quantity of 0.5, a swap cost of -15 USDC, an exit fee rate of 0.0006, and an entry fee of 12 USDC — what is my break-even price?","exampleUseCases":[{"title":"Crypto futures break-even check","prompt":"I'm long on a BTC linear contract, entered at 65000 with quantity 1.2, I paid 30 USDC in entry fees, my swap is -22 USDC, and the exit fee rate is 0.0005 — what price do I need to exit at just to break even?"},{"title":"Short position cost recovery price","prompt":"I shorted a linear contract at entry 3200, quantity 4, swap cash is 18 USDC, exit fee rate 0.0004, and no entry fee — what is the break-even exit price for this short position?"},{"title":"Risk check before placing exit order","prompt":"Before I set my limit sell, tell me: if I entered long at 1850, quantity 10, with a swap of -8 USDC, exit fee rate 0.00045, and entry fee of 5 USDC, at what price do I recover all costs exactly?"}],"resultDescription":"Returns the computed break-even price as a number — the exact exit price at which the position's profit equals zero after accounting for entry price, quantity, trade direction, swap cost, exit fee rate, and entry fee cash. No market data is fetched; the result is a deterministic calculation based solely on the caller-supplied inputs.","failureModes":["Missing required fields (entry, quantity, direction) return a validation error","Values outside allowed min/max ranges (e.g. entry < 1e-12 or > 1e12) are rejected","Invalid direction value (not 1 or -1) causes a schema validation error","Nonsensical combinations (e.g. fees exceeding position value) may produce mathematically valid but economically extreme results without warning","Payment failure via x402 protocol returns HTTP 402 before computation"],"whenToPreferThis":"Use this endpoint when you need a pure, stateless break-even computation for a linear (non-inverse) derivatives contract and already hold all the numbers yourself — entry price, quantity, direction, swap costs, and fee rates. It is ideal for agent workflows that need to compute cost-adjusted exit thresholds without connecting to any broker, exchange, or live market data feed. Prefer it over building your own formula when swap costs (funding) must be factored in alongside percentage-based exit fees and fixed entry fees simultaneously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T06:45:57.836Z","isFirstParty":false,"canonicalSlug":"halowerk-break-even-calculator-linear-contracts-9689667e"}