get_funds_margin
Retrieve available funds and margin balances, optionally for equity or commodity segments, to verify account buying power before trading.
Instructions
Get available funds and margin. version v3 (default) = GET /v3/user/get-funds-and-margin (Api-Version 3.0); v2 supports the optional segment SEC (equity) or COM (commodity).
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": "get_funds_margin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| segment | No | v2 only | |
| version | No | v3 |