For AI agents: visit https://docs.alpaca.markets/in-giftcity/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI. 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