get_positions
Retrieve current stock and futures account positions to monitor portfolio holdings and manage investment exposure through the Shioaji trading API.
Instructions
Get current positions from stock and/or futures accounts
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_positions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_type | No | Account type to query (all, stock, futures) | all |