pulse_trader_performance
Compare a trader's 30-day vs all-time PnL, trade count, win rate, and trend direction to assess if they are improving or cooling off.
Instructions
Get performance comparison for a trader: 30-day vs all-time PnL, trade count, win rate, and trend direction (improving/declining/stable). Use this to evaluate if a trader is currently hot or cooling off.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| useToonFormat | No | Return data in compact toon format (default: true). Set to false for standard JSON. | |
| address | Yes | Ethereum wallet address (0x...) |
Implementation Reference
- src/index.ts:437-450 (handler)The tool 'pulse_trader_performance' is defined, registered, and its handler is implemented here. It takes 'useToonFormat' and 'address' (Ethereum wallet) parameters, calls the API at '/pulse/trader/{address}/performance', and formats the result. This single location serves as registration, schema, and handler all in one.
// ══════════════════════════════════════════════════════════ // TOOL 8: Trader Performance // ══════════════════════════════════════════════════════════ if (shouldRegister("pulse_trader_performance")) server.registerTool( "pulse_trader_performance", { description: "Get performance comparison for a trader: 30-day vs all-time PnL, trade count, win rate, and trend direction (improving/declining/stable). Use this to evaluate if a trader is currently hot or cooling off.", inputSchema: { useToonFormat: useToonFormatSchema, address: ethAddressSchema, }, }, async ({ useToonFormat, address }) => toolResult(await callAPI(useToonFormat, `/pulse/trader/${address}/performance`)) );