Skip to main content
Glama

RiskReward Trading Calculators

Realized trading performance

analyze_trade_performance
Read-onlyIdempotent

Analyze up to 500 chronological closed trades supplied by the user, each with net P&L after costs and original risk. Returns win rate, profit factor, expectancy in currency and R, total net R, and optional closed-trade equity drawdown when initial equity is supplied. Use for reviewing an existing trade sample. No account access, deposits, intratrade drawdown, forecasts, signals, or new risk recommendations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tradesYesClosed trades ordered chronologically, all using the same currency and risk convention. Maximum 500.
initialEquityNoStarting equity before the ordered trades. Required only for equity drawdown metrics. No deposits or withdrawals are modeled.
quoteCurrencyNoCurrency shared by all monetary inputs. Defaults to USD; no currency conversion is performed.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolYes
inputsYes
metricsYes
formulasYes
warningsYes
assumptionsYes
reproduceUrlYes
documentationUrlYes
calculationVersionYes

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