{"uid":"cap_9w7YnkecS92pV5hi9ZTky","slug":"trade-expectancy-calculator-635efb3a","name":"Trade Expectancy Calculator","description":"Arithmetischer Erwartungswert je Trade. Stichprobenmittel gelieferter Nettoergebnisse, keine Erwartungsprognose. 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/expectancy?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"pnl_cash":{"type":"array","items":{"type":"number","maximum":1000000000000,"minimum":-1000000000000},"maxItems":5000,"minItems":1}}},"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_vGxZTHLNHrfkGSk6Dx3BL","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 the arithmetic mean (expected value per trade) from a supplied list of net trade P&L figures.","exampleAgentPrompt":"Calculate the arithmetic expectancy per trade for my last 20 trades — here are the net P&L values in dollars: [120, -45, 300, -80, 55, -200, 430, -10, 75, 90, -130, 210, -60, 180, -95, 310, -25, 140, -70, 250].","exampleUseCases":[{"title":"Backtesting strategy expectancy","prompt":"I just ran a backtest and here are my 50 net trade results in USD: [230, -110, 450, -90, 180, -200, 310, 60, -150, 400, -80, 270, -130, 510, -60, 320, -190, 140, -30, 380, -100, 220, -70, 290, -160, 430, -50, 170, -120, 340, -90, 260, -140, 490, -40, 200, -80, 360, -110, 150, -60, 410, -95, 240, -130, 470, -75, 190, -115, 300]. What's my arithmetic expectancy per trade?"},{"title":"Live trading journal review","prompt":"Here are my net cash results for each trade I made this month: [85, -40, 120, -75, 200, -30, 55, -90, 160, -20]. Can you compute the average net profit per trade so I know if my system has a positive expectancy?"},{"title":"Comparing two trading systems","prompt":"I want to compare the average return per trade for my two systems. System A trades gave me these results: [100, -50, 200, -80, 150] and System B gave: [60, -20, 90, -30, 70, -10, 110, -40]. What is the arithmetic mean per trade for each set?"}],"resultDescription":"Returns the arithmetic sample mean (expectancy) computed from the supplied array of net trade P&L cash values — a single numeric figure representing the average net result per trade. No market data, broker access, or forward-looking forecast is produced.","failureModes":["Empty array or missing pnl_cash field returns a validation error","Individual values exceeding ±1,000,000,000,000 are rejected","Array exceeding 5000 items is rejected","Non-numeric values in the array cause a type validation error","Payment failure via x402 prevents request from being processed"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic arithmetic mean of a known list of trade P&L values — especially when you already hold the data locally and want a stateless computation without any broker connection, market data feed, or advisory output. Prefer it over general-purpose statistics libraries when you need a paid, auditable API call for expectancy computation within an automated trading analytics workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T06:43:20.363Z","isFirstParty":false,"canonicalSlug":"trade-expectancy-calculator-635efb3a"}