Recent trades
recent_tradesDEMO portfolio (synthetic, shared, read-only). Read the user's OWN executed buys and sells — trade history, never recommendations; the rows of the Trades tab's Recent trades card. since is a number of days back (1-3650, default 90); symbol and side (buy or sell) filter; limit is 1-100 (default 20) with offset/nextOffset, newest first. Each item carries date, side, symbol, name, qty, the account it was filed from and amountEur — the trade's cash value in the display currency at its own trade date, fees included where the broker reports them; a row with no derivable display-currency amount carries nativeAmount plus nativeCurrency (price×qty in the trade's own currency) instead. Transfers between the user's own accounts, ledger corrections, staking credits, in-kind fees and corporate actions are not trades and are never listed — the same rows as the Trades tab's Recent trades card. servedFrom says whether the rows came from the chat context's own trade window ('context') or from the full history ('engine'), and window says which stretch was actually read. detail=true reads the card's own table instead (servedFrom 'engine') and adds its other columns to every row: price (the execution price, in priceCurrency, the trade's own currency), fee (the broker-reported fee in the display currency, only when there was one) and changePct (the Since trade column: how the asset's price moved from this execution to today in its own listing currency, split-adjusted, as a FRACTION — 0.25 = +25%; on a sale, what the sold units did since; absent without a current price), plus cardTotal, the count of every trade the card lists (its 'N of M'). The card's sort and filters imply detail: sort (a column; change = Since trade) with order, query (name/ticker terms), type (asset type, e.g. 'ETF funds') and from/to (ISO days; either replaces since). Each '…Eur' field now also ships under its currency-neutral name (amountEur→amount, buyEur→buy, valueEur→value, totalEur→totalAmount); the '…Eur' twins are DEPRECATED and will be removed — read the neutral name.
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": "recent_trades"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No | ||
| side | No | ||
| sort | No | ||
| type | No | ||
| limit | No | ||
| order | No | ||
| query | No | ||
| since | No | ||
| detail | No | ||
| offset | No | ||
| symbol | No |