{"uid":"cap_x8mKSnne7YYjTWVVkF7_A","slug":"delx-commerce-risk-reward-calculator-c0a085ae","name":"Delx Commerce Risk-Reward 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/risk-reward?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"stop":{"type":"integer","description":"Input field: stop."},"take":{"type":"integer","description":"Input field: take."},"entry":{"type":"integer","description":"Input field: entry."}}},"responseSchema":{"type":"json","example":{"risk":5,"reward":15,"schema":"delx/util-risk-reward/v1","risk_reward":3}},"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_TEkC8ckdMVcgrR_E9SEbU","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":"Computes the risk, reward, and risk/reward ratio for a trade given entry, stop-loss, and take-profit price levels","exampleAgentPrompt":"Calculate the risk-reward ratio for a trade where my entry is 100, my stop-loss is 95, and my take-profit target is 115.","exampleUseCases":[{"title":"Pre-trade risk evaluation","prompt":"I'm thinking about entering a trade at 250, with a stop at 240 and a take-profit at 280 — what are my risk, reward, and risk-reward ratio?"},{"title":"Screening trade setups for minimum ratio","prompt":"Can you check if this setup meets a 1:3 risk-reward minimum? Entry is 50, stop is 48, take profit is 56."},{"title":"Comparing multiple trade setups","prompt":"I have two trade ideas: first one entry 200 stop 190 target 230, second one entry 200 stop 195 target 220 — which one has a better risk-reward ratio?"}],"resultDescription":"Returns a JSON object with the absolute risk value, absolute reward value, the risk-reward ratio (reward divided by risk), and a schema identifier string ('delx/util-risk-reward/v1'). Example: {risk: 5, reward: 15, risk_reward: 3, schema: 'delx/util-risk-reward/v1'}.","failureModes":["Missing required fields (entry, stop, take) returns a 4xx error","Non-integer values for price fields may cause validation errors","Stop price equal to entry price causes division-by-zero or invalid ratio","Payment not provided or insufficient USDC causes 402 Payment Required","Inverted stop/take values (stop above entry for a long) may produce negative or unexpected results"],"whenToPreferThis":"Choose this endpoint when you need a quick, verifiable, pay-per-use computation of trade risk-reward metrics without setting up an account or managing subscriptions. It is ideal for AI agents operating in trading workflows that need lightweight, on-demand calculation with micropayment billing in USDC via the x402 protocol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:01.004Z","isFirstParty":false,"canonicalSlug":"delx-commerce-risk-reward-calculator-c0a085ae"}