get_positions
Retrieve current trading positions for a specified account ID on Interactive Brokers. Automates position tracking with OAuth authentication and pre-configured IB Gateway integration.
Instructions
Get current positions for an account
Input Schema
Name | Required | Description | Default |
---|---|---|---|
accountId | No | Account ID (optional, uses default if not provided) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"accountId": {
"description": "Account ID (optional, uses default if not provided)",
"type": "string"
}
},
"type": "object"
}