Trading
List Open Positions for an Account
List open positions for an account
get/v1/trading/accounts/{account_id}/positions
Request
- Base URLhttps://broker-api.giftcity.sandbox.in.alpaca.markets
- URLhttps://broker-api.giftcity.sandbox.in.alpaca.markets/v1/trading/accounts/{account_id}/positions
- AuthHTTP basic
Response
Success
Example response
[
{
"asset_class": "us_equity",
"asset_id": "93f58d0b-6c53-432d-b8ce-2bad264dbd94",
"asset_marginable": false,
"avg_entry_price": "172.08",
"change_today": "0.0189483657034581",
"cost_basis": "688.32",
"current_price": "172.08",
"exchange": "NASDAQ",
"lastday_price": "168.88",
"market_value": "688.32",
"qty": "4",
"qty_available": "4",
"side": "long",
"symbol": "AAPL",
"unrealized_intraday_pl": "0",
"unrealized_intraday_plpc": "0",
"unrealized_pl": "0",
"unrealized_plpc": "0"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.