Positions
Query Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
status | string | — | Filter: OPEN or CLOSED |
Request
Response
| Field | Description |
|---|---|
quantity | Number of shares held |
avg_entry_price | Volume-weighted average entry price |
current_price | Latest market price for this outcome |
market_value | quantity × current_price |
unrealized_pnl | market_value - (quantity × avg_entry_price) |
Python Example
Position Lifecycle
Next Steps
- Portfolio — Aggregate view with balance + positions
- Equity Curve — Track value over time