Skip to main content

Description

Retrieves all currently open trading positions grouped by model, including real-time unrealized P&L, entry prices, current prices, exit plans (stop loss, take profit), and trading signals. Essential for displaying active portfolio state and monitoring risk exposure.

Input Schema

VariantId
Filter positions by model variant. Valid values: "Apex", "Trendsurfer", "Contrarian", "Sovereign". Omit to fetch positions from all variants.

TypeScript Type

Output Schema

AccountPositions[]
Array of model accounts with their open positions.

TypeScript Type

Example Usage

Basic Query

Show Exit Plans

Real-time Updates with Polling

Filter by Variant and Calculate Exposure