Skip to main content
Glama

Clear Tape

Losing streak calculator

calculate_losing_streak
Read-onlyIdempotent

The exact probability of at least one losing streak of a given length over a number of independent trades, the expected longest streak and the streak 95% of sequences stay within. Computed with the same function as Clear Tape's free losing streak calculator page (linked in the result), not estimated. Returns the inputs, each result with its unit, the formula and the page link. Educational, not investment advice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
langNoLanguage of the returned text: "en" (default) or "zh" (Simplified Chinese).en
streakYesLosing streak length to test, a whole number no larger than trades.
tradesYesNumber of trades, a whole number from 1 to 2000.
winRateYesWin rate in percent. Above 0, at most 100.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources