Money flow
money_flowDEMO portfolio (synthetic, shared, read-only). Read the Trades tab's Money flow card: the cash spent on purchases and raised by sales per week, month or year, from the same rows as the Recent trades card. period is 'week' (ISO weeks, Monday start), 'month' (calendar months, the default) or 'year' (calendar years, the current one to date); count is how many periods back, up to and including the current one (1-260; default 26 weeks, 24 months or 10 years, the card's own). Each item is one period, newest first: start (the period's first day), purchases (the card's Purchases bar) and sales (its Sales bar) — the display-currency cash at each trade's own date, fees included where the broker reports them — net = sales − purchases (the Net line: positive when the period sold more than it bought), buys, sells and trades (execution counts) and unpriced (trades with no derivable amount: counted, never summed). A period without trades is zeros, not a gap. totals sums the whole window; limit/offset page the periods (nextOffset). Transfers, corrections, staking credits, in-kind fees and corporate actions are not trades and never counted.
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": "money_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| limit | No | ||
| offset | No | ||
| period | No |