Trading expectancy calculator
calculate_expectancyRead-onlyIdempotent
Expectancy per trade, per 100 trades, payoff ratio, break-even win rate and profit factor from a win rate and average win and loss. Computed with the same function as Clear Tape's free trading expectancy 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
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language of the returned text: "en" (default) or "zh" (Simplified Chinese). | en |
| avgWin | Yes | Average winning trade as a positive amount, in USD or in R. | |
| avgLoss | Yes | Average losing trade as a positive amount, in the same unit as avgWin. | |
| winRate | Yes | Win rate in percent (40 = 40%). Above 0, at most 100. |