get_trade_history
Returns the user's CLOSED trades and a performance summary, across crypto exchanges, MetaTrader 5 and the paper account in one list.
Each trade carries symbol, side, size, entry/exit price, SL/TP, PnL, venue, source
(telegram / webhook / mcp / manual) and timestamps. The summary adds win rate,
total PnL, average R-multiple and a per-venue breakdown.
HOW TO READ THE SUMMARY:
- `avg_rr` is computed only from trades where entry, SL and exit are ALL known;
`rr_sample` tells you how many trades that was. A 3-trade average is not evidence.
- `total_pnl` is null when several account currencies are mixed (e.g. a EUR MT5
account next to USD crypto). `pnl_by_currency` keeps them apart; amounts in different currencies are not summed.
- `fee` is null because commission is not recorded; PnL is therefore GROSS on crypto.
- `incomplete_sources` means part of the history could not be read - the summary is
then incomplete.
This is a read operation with no side effects. It is history only; it does not tell you what will happen next, and past results do not predict
future ones.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_trade_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Look-back window in days (1-365). Only trades CLOSED inside this window are returned. | |
| limit | No | Maximum number of trades to return (1-200), newest first. | |
| venue | No | Optional venue filter: 'paper', an exchange name (e.g. binance), 'mt5', or a specific MT5 account like 'mt5:12345678'. If omitted, every venue is included. | |
| market | No | Optional market filter: 'crypto', 'forex' or 'paper'. | |
| symbol | No | Trading symbol, e.g. BTCUSDT, ETHUSDT, EURUSD. |