Portfolio History#

Get Portfolio History For Account#

BrokerClient.get_portfolio_history_for_account(account_id: Union[UUID, str], history_filter: Optional[GetPortfolioHistoryRequest] = None) Union[PortfolioHistory, Dict[str, Any]]#

Gets the portfolio history statistics for an account.

Parameters:
  • account_id (Union[UUID, str]) – The ID of the Account to get the portfolio history for.

  • history_filter – The various portfolio history request parameters.

Returns:

The portfolio history statistics for the account.

Return type:

PortfolioHistory