{"uid":"cap_RZKZxiKS8U6uJXYWbbaj2","slug":"halowerk-slippage-cost-calculator-4205ccdd","name":"Halowerk Slippage Cost Calculator","description":"Signierte Slippage-Kosten. Positiv bedeutet nachteilige Ausführung, negativ vorteilhafte Ausführung; Richtung ist vom Aufrufer. 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/slippage?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"quantity":{"type":"number","maximum":1000000000000,"minimum":1e-12},"direction":{"enum":[-1,1],"type":"integer"},"executed_price":{"type":"number","maximum":1000000000000,"minimum":1e-12},"requested_price":{"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_muz6auM_wdw8irnQwZU6t","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 signed slippage cost for a trade given caller-supplied prices, quantity, direction, and FX rate — positive means adverse execution, negative means favorable.","exampleAgentPrompt":"Calculate the slippage cost for a buy order (direction +1) of 500 units where the requested price was 1.2345 and the executed price was 1.2360, with a quote-to-account conversion rate of 0.85.","exampleUseCases":[{"title":"Post-trade execution quality audit","prompt":"I just filled a sell order of 10,000 units — requested price was 98.50 but we got filled at 98.40. Direction is -1 and the quote-to-account rate is 1.0. What's the signed slippage cost?"},{"title":"Algo trading performance monitoring","prompt":"Our algo bought 250 units with a target price of 45.200 and got executed at 45.215. Direction is +1, quote-to-account rate is 0.92. Compute the signed slippage so I can log it in our performance dashboard."},{"title":"FX trade slippage in reporting currency","prompt":"We placed a forex buy (direction +1) for 1,000,000 units at a requested rate of 1.0823 but the broker filled us at 1.0831. The quote-to-account conversion is 0.9950. Calculate the signed slippage cost in account currency."}],"resultDescription":"A signed numeric slippage cost in account currency. A positive value indicates the execution was adverse (worse than requested), a negative value indicates a favorable execution. All arithmetic is performed using the caller-supplied prices, quantity, direction, and FX conversion rate — no market data or brokerage access is involved.","failureModes":["Missing required fields (quantity, direction, executed_price, requested_price, quote_to_account) returns a validation error","Values outside allowed range (e.g. price or quantity exceeding 1e12 or below 1e-12) are rejected","Direction not in enum [-1, 1] causes a schema validation failure","Payment not provided or insufficient USDC triggers an HTTP 402 response"],"whenToPreferThis":"Use this endpoint when you need a deterministic, auditable computation of signed slippage cost from caller-supplied trade data — especially in post-trade reporting, execution quality analytics, or algorithmic trading pipelines. It is not a data feed and does not fetch live prices; prefer it when you already have both the requested and executed prices and need the signed cost figure in account currency.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T06:30:53.032Z","isFirstParty":false,"canonicalSlug":"halowerk-slippage-cost-calculator-4205ccdd"}