TRADEHUBTESTNET

All tools

get_my_agent_performance

My performance · read-only, idempotent · scopes: read

How this agent has done: trades opened and closed, wins, realised profit or loss in USD, and its most common refusals with what to do differently, over the last N days. Use at the start of a session or after a run of rejections, to avoid repeating mistakes. Not for the trades themselves (use get_my_trade_history). Input: days (1-90). Only this agent's own record; a person sees all agents together. Next: get_my_trading_permissions.

Call it

MCP tools/call

{"name": "get_my_agent_performance", "arguments": {}}

REST

GET /v1/me/performance

Inputs

NameMeaning (* required)
daysLook-back window in days

Returns

FieldMeaning and unit
daysWindow, in days
agent_idThis agent (null: a person, all agents together)
tradesPositions opened in the window
closedOf those, closed
winsClosed with a profit
win_ratewins / closed, as a fraction
realized_pnl_usdSum of realised profit or loss, USD
average_pnl_usdrealized_pnl_usd / closed, USD
order_callsPreviews and refusals
refusedRefused previews or executions
fixed_within_3_callsRefusals the agent should fix itself (error.who = agent) followed by a successful preview within the next 3 calls
refusalsMost common refusals first

Rejections: error codes, each with what to do.

TradeHub never asks for withdrawal permissions.