API product catalogExecution & Order Management (OMS)
Master-account equity history
Execution & Order Management (OMS)
GET
/portfolio/history
Master-account equity history
Sandbox available
getPortfolioHistoryDaily raw-equity history for the partner master trading account only. This endpoint does not consolidate sub-accounts and is not cash-flow adjusted; deposits and withdrawals therefore affect changes in equity.
Parameters
period1M | 3M | 6M | 1Y | ALLqueryExample: 1Y
fromstringquerytostringqueryHeaders
AuthorizationstringRequiredBearer sk_sandbox_<your_key> for sandbox requests.
Response fields
accountTypeMASTER | SUBACCOUNTRequiredscopeMASTER_ACCOUNT | SUBACCOUNTRequiredsubAccountIdstringexternalIdstring | nullbaseCurrencyUSDRequiredtimeframe1DRequiredperiod1M | 3M | 6M | 1Y | ALLRequiredcalculationRAW_EQUITYRequiredcashFlowAdjustedbooleanRequiredmethodologystringRequiredpointsobject[]Requiredpoints[].timestampstringRequiredpoints[].equitynumberRequiredTotal account value including cash and holdings.
points[].marketValuenumberRequiredHoldings value only.
countintegerRequiredasOfstring | nullResponse codes
200Master-account daily equity points.400Invalid period or date range.