Get Positions & Pending Orders
get_positionsGet all open positions and pending orders across all of the user's connected broker accounts. Positions are live trades currently in the market. Pending orders are limit/stop orders waiting to be filled. Each position includes: symbol, side (buy/sell), quantity, average entry price, unrealized P&L, stop loss (price + dollar amount), take profit (price + dollar amount), open date, broker account label, environment (demo/live), and linked conditional order info if applicable. To WATCH a position and close it or move its stop when something happens (a candle close, a CHoCH, a level, a time), create an exit rule with create_conditional_order (action.type close_position / modify_position, with this position id): TraderWAI checks it every minute. Each pending order includes: symbol, side, type (limit/stop), quantity, target price, SL/TP levels, and creation date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||