broker_positions
Retrieve open positions from an Alpaca paper trading account. Supports markdown or JSON output.
Instructions
Read open positions from an Alpaca paper trading account.
OPTIONAL — requires ALPACA_API_KEY and ALPACA_SECRET_KEY in .env. If keys are absent, returns a graceful 'no data' message with setup instructions. Read-only: never places orders or moves money.
Args: params: response_format ('markdown'|'json').
Examples: - "What positions do I have open in my paper account?" -> (no ticker needed) - "Show me my paper portfolio" -> (no ticker needed)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |