{"uid":"cap_ksmWSURU3e73JoyMuzj6u","slug":"delx-commerce-stop-loss-price-calculator-41b7aa3e","name":"Delx Commerce — Stop Loss Price Calculator","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/stop-loss-pct?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"pct":{"type":"number","description":"Input field: pct."},"side":{"type":"string","description":"Input field: side."},"entry":{"type":"integer","description":"Input field: entry."}}},"responseSchema":{"type":"json","example":{"pct":0.02,"side":"long","entry":100,"schema":"delx/util-stop-loss-pct/v1","stop_loss":98}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VYzlfd3HDj7OenCi_TpnI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates the stop-loss price for a trading position given an entry price, position side, and stop-loss percentage","exampleAgentPrompt":"I entered a long trade at 100 and want a 2% stop loss — what price should I set my stop loss at?","exampleUseCases":[{"title":"Long trade stop loss placement","prompt":"I bought into a long position at entry price 250 and want to risk no more than 3% — what stop-loss price should I use?"},{"title":"Short position risk calculation","prompt":"I shorted a stock at 500 with a 5% stop loss tolerance on a short position — calculate the exact stop-loss price I need to set."},{"title":"Automated trading bot risk guard","prompt":"For my trading bot: entry is 1800, side is long, and my max drawdown before stopping out is 1.5% — what stop-loss price does that work out to?"}],"resultDescription":"Returns a JSON object with the computed stop_loss price, along with an echo of the input parameters (pct, side, entry) and a schema identifier (delx/util-stop-loss-pct/v1). For example, a 2% stop on a long at 100 returns a stop_loss of 98.","failureModes":["Missing required field (pct, side, or entry) returns a validation error","Invalid side value (not 'long' or 'short') may cause incorrect calculation or error","Non-positive entry price or negative percentage may produce nonsensical results","Payment failure via x402 protocol blocks the response"],"whenToPreferThis":"Use this endpoint when an AI trading agent needs a fast, verifiable, pay-per-call computation of stop-loss price levels without needing to implement the arithmetic itself. It is ideal for agents managing trade risk programmatically, especially when auditability and exact pricing ($0.001 USDC) matter. Prefer it over general-purpose math tools when you want a finance-domain-specific, schema-versioned result that can be verified downstream.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:08.720Z","isFirstParty":false,"canonicalSlug":"delx-commerce-stop-loss-price-calculator-41b7aa3e"}