For AI agents: the docs index is at https://docs.alpaca.markets/in-giftcity/llms.txt. The index for every project on this site is at https://docs.alpaca.markets/llms.txt. Append .md to any documentation page URL to get its markdown version.
The equity, profit_loss, profit_loss_pct, and base_value fields on the PortfolioHistory schema are now marked nullable to match service behavior. These fields can return null.
Broker API
GET /v1/trading/accounts/{account_id}/account/portfolio/history