TRADEHUBTESTNET

All tools

get_my_account_balances

My account balances · read-only, idempotent · scopes: read

Equity, free margin, used margin and open profit or loss on every exchange account the user connected (Hyperliquid, Bybit, Binance, OKX, sandbox), and the total. Use to report balances or to compare free margin across exchanges. Not needed before opening: size_position_by_risk reads equity itself. Not for positions (use get_my_open_positions). No inputs. Amounts in USD (USDC / USDT count as USD). Next: get_my_open_positions.

Call it

MCP tools/call

{"name": "get_my_account_balances", "arguments": {}}

REST

GET /v1/account

Inputs

NameMeaning (* required)
none

Returns

FieldMeaning and unit
total_equitySum of equity on every connected venue, USD
venuesOne entry per connected venue

Rejections: error codes, each with what to do.

TradeHub never asks for withdrawal permissions.