get_statistics
The user's statistics over closed trades, as the dashboard shows them: net P&L, win rate, profit factor, averages, expectancy, max drawdown, best and worst trade, R; the system's quality (summary.quality: Van Tharp's SQN and the Kelly criterion, in R or in P&L as its basis says, null below 30 closed trades; Kelly is no advice); breakdowns by instrument, hour, weekday, strategy, tag and tag category, calm, checklist rules and adherence; the cost of trades tagged as mistakes; the discipline score with its parts and what breaking each part cost (discipline.costs: per part the closed trades that broke it against those that kept it, in money, per trade and in R; key "all" any part, a trade that broke two counted once).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_statistics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last trading day, YYYY-MM-DD, inclusive | |
| from | No | First trading day, YYYY-MM-DD (a futures day runs from 18:00 New York time the evening before) | |
| tags | No | Trades carrying at least one of these tags | |
| view | No | LOGICAL (default): one decision copied to many accounts counts once, with the master's result. ACCOUNTS: every account's trade counts, results summed over the accounts | |
| market | No | STRATEGIES = multi-leg option trades, CRYPTO = crypto spot and perpetuals, FOREX = currency pairs, metals and CFDs | |
| account | No | One account by its alias from list_accounts, e.g. ACC-12, or several comma-separated (ACC-12,ACC-15) | |
| symbols | No | Futures roots or tickers, e.g. ["MES", "AAPL"] | |
| strategy | No | A strategy (setup) by its name | |
| checklist | No | By the strategy's checklist: all (every rule followed), broken:N (at most N broken), followed:X (at least X % followed), none (not answered) | |
| account_kind | No | Accounts of one or more types, comma-separated: EVAL evaluation, PA funded, LIVE the firm's capital, PERSONAL the trader's own broker or exchange account, PRACTICE a demo, paper or simulated account (e.g. EVAL,PA); REAL every type but practice, EVAL_PA both | |
| account_role | No | Accounts of one or more roles in the copier, comma-separated: MASTER, COPY (a follower), SINGLE; MASTER,COPY = the copy group | |
| exclude_tags | No | Leave out trades carrying any of these tags | |
| include_daily | No | Add the result of every trading day (for streaks, best and worst days) |