segnals_fleet_report
Retrieve fleet performance KPIs, open positions, and unrealized PnL for a period and its prior period to evaluate bot health and plan changes.
Instructions
The fleet's performance for a period ("24h", "7d" by default, "30d") and the period of the same length before it (previous). KPIs per bot, for the fleet, and in totals over every fleet the key reads: net_pnl and net_pnl_pct_of_capital, return_pct, win_rate_pct, profit_factor, expectancy, trades, max_drawdown_pct, current_drawdown_pct, margin_used_pct; and what is held now: open_positions and unrealised_pnl. trades and net_pnl count closed trades only, so a bot can show trades 0 while it holds a position: read open_positions and unrealised_pnl before saying a bot is idle or flat. Exposure is a reading of now, so previous has it null. Each bot also has its exchange, every symbol it trades, whether it is demo, its status, and its health: seconds since its last sign of life (last_sign_of_life_s, with its source) and errors_24h. A KPI that is not measured is null, never 0: report it as "not measured", not as zero. With fewer than 20 trades, the win rate, profit factor and expectancy say little; say so. Fleet amounts are in the account's currency (account_currency); totals are in USD. Use it to tell the person how the fleet is doing, and before planning a change to it. Requires: a master key (read:stats), while the server's bot manager is on. Example: segnals_fleet_report({ period: "30d" })
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": "segnals_fleet_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | The period: "24h", "7d" (default) or "30d" | |
| account | No | The account to act on. Optional: this program holds one account, "default". |