{"uid":"cap_RGfY746A9tNZwhGP3Ef51","slug":"halowerk-win-streak-hit-rate-calculator-08454330","name":"HALOWERK Win-Streak & Hit-Rate Calculator","description":"Trefferquote und Serienlängen. Nullergebnisse gehören in den Nenner und unterbrechen Serien. 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/win-streaks?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_fQq_EqCxKy0d9gqFWdFvz","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 trading hit rate (win ratio) and win/loss streak statistics from a provided list of P&L values, counting zero results as losses","exampleAgentPrompt":"Calculate my trading hit rate and win/loss streak stats from these P&L values (in cash): [150, -80, 0, 200, 300, -50, -120, 0, 400, -30] — treat zeros as losses.","exampleUseCases":[{"title":"Algo strategy performance review","prompt":"Here are the P&L results from my last 50 algo trades in dollars: [120, -45, 0, 300, 210, -80, 0, -30, 400, 150, ...]. Can you calculate my hit rate, longest win streak, and longest loss streak? Count the zero results as losses."},{"title":"Manual trader streak analysis","prompt":"I've been tracking my daily trading results manually — here's my P&L list for the past month: [500, -200, 0, 800, 600, -100, -300, 0, 1200, -50]. What's my win rate and what's the longest consecutive winning run I had?"},{"title":"Backtest statistics summary","prompt":"I just ran a backtest and got these trade P&L figures: [-150, 200, 350, 0, -80, 500, 700, -200, 0, 100]. Give me the hit rate and win/loss streak breakdown — zeros count as losses."}],"resultDescription":"Returns the hit rate (percentage of winning trades), win streak lengths, loss streak lengths, and related statistics computed from the submitted P&L array. Zero-valued results are counted as losses and break any winning streak.","failureModes":["Empty or missing pnl_cash array returns a validation error","Array items exceeding ±1,000,000,000,000 are rejected","Arrays longer than 5,000 items are rejected","Non-numeric values in the array cause a schema validation error","Payment failure (x402) results in no computation being returned"],"whenToPreferThis":"Use this endpoint when you have raw P&L cash figures from your own systems and need to compute win rate and streak statistics without connecting to a broker or market data feed. It is purely a calculation tool — you supply all numbers, it returns only derived statistics. Prefer this over building custom analytics when you need a quick, paid-per-call micro-service that handles zero results correctly as losses.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T00:32:47.061Z","isFirstParty":false,"canonicalSlug":"halowerk-win-streak-hit-rate-calculator-08454330"}