All Open Positions

GET {{baseUrl}}/v2/positions

The positions API provides information about an account’s current open positions. The response will include information such as cost basis, shares traded, and market value, which will be updated live as price information is updated. Once a position is closed, it will no longer be queryable through this API

Retrieves a list of the account’s open positions

HEADERS

KeyDatatypeRequiredDescription
Acceptstring
Apca-Api-Key-Idstring
Apca-Api-Secret-Keystring

RESPONSES

status: OK

[{"asset_id":"4ce9353c-66d1-46c2-898f-fce867ab0247","symbol":"NVDA","exchange":"NASDAQ","asset_class":"us_equity","asset_marginable":true,"qty":"4","avg_entry_price":"826.63","side":"long","market_value":"3706","cost_basis":"3306.52","unrealized_pl":"399.48","unrealized_plpc":"0.1208158426381815","unrealized_intraday_pl":"-94.08","unrealized_intraday_plpc":"-0.0247573735289783","current_price":"926.5","lastday_price":"950.02","change_today":"-0.0247573735289783","qty_available":"4"},{"asset_id":"8ccae427-5dd0-45b3-b5fe-7ba5e422c766","symbol":"TSLA","exchange":"NASDAQ","asset_class":"us_equity","asset_marginable":true,"qty":"10","avg_entry_price":"201.3075","side":"long","market_value":"1789.8","cost_basis":"2013.075","unrealized_pl":"-223.275","unrealized_plpc":"-0.110912410118848","unrealized_intraday_pl":"63.5","unrealized_intraday_plpc":"0.0367838730232289","current_price":"178.98","lastday_price":"172.63","change_today":"0.0367838730232289","qty_available":"10"}]