HTTP Basic Authentication using the API Key as username and API Secret as password.
"3d0b0e65-35d3-4dcd-8df7-10286ebb4b4b"
Filter positions by symbol.
Only return positions with non-zero quantity.
When true, fetches live prices from market data providers. Response will include price_source, price_confidence, and price_timestamp fields. Note: This adds latency as it fetches real-time data.
List of positions for the account
Unique identifier for the position.
"pos_a1b2c3d4e5f6g7h8"
Account ID associated with the position.
"3d0b0e65-35d3-4dcd-8df7-10286ebb4b4b"
The ticker symbol of the asset.
"AAPL"
Asset ID.
"6c5b2403-24a9-4b55-a3dd-5cb1e4b50da6"
ISO 4217 currency code for the asset's trading currency.
"USD"
Current quantity owned (can be negative for shorts).
"10.5"
Average cost per unit.
"175.50"
Total cost basis (quantity * average_cost_basis).
"1842.75"
Current market price.
"180.00"
Current market value (quantity * current_price).
"1890.00"
Unrealized profit/loss (market_value - total_cost_basis).
"47.25"
Unrealized P/L as percentage.
"2.56"
Source of the price data. Present when refresh_prices=true.
ALPACA, NAYA, DATABASE, UNAVAILABLE "ALPACA"
Confidence level of the price data. Present when refresh_prices=true.
REAL_TIME, DELAYED, END_OF_DAY, STALE, UNAVAILABLE "REAL_TIME"
When the price was recorded by the source. Present when refresh_prices=true.
"2025-10-18T10:30:00Z"
Timestamp of last transaction.
"2025-10-18T10:30:00Z"
Timestamp when the position was created.
"2025-10-18T10:30:00Z"
Timestamp when the position was last updated.
"2025-10-18T10:30:00Z"