Portfolio

Get historical holdings by symphony

Returns the daily quantity and value of each holding of each symphony for the account, grouped first by symphony id and then by day, over the given date range.

get/api/v0.1/portfolio/accounts/{account-id}/symphony-historical-holdings

Request

  • Base URL: https://api.composer.trade (the document declares no server; this is the origin it was published from)
  • URL: https://api.composer.trade/api/v0.1/portfolio/accounts/{account-id}/symphony-historical-holdings
  • Auth: none declared

Path parameters

account-idstring uuid required

Unique identifier (UUID) of the account

Query parameters

start_dateunknown

The inclusive start date of the historical data set. Defaults to 30 days ago.

end_dateunknown

The inclusive end date of the historical data set. Defaults to 30 days after the start date.

include_aggregate_account_holdingsboolean required

When true, also return total_symphony_holdings: an account-level aggregate of symphony holdings per day, summing each symbol's quantity and value across all symphonies.

Response

OK

by_symphonyobject required

Holdings keyed first by symphony id, then by day (ISO-8601 date).

total_symphony_holdingsobject

Account-level holdings across all held symphonies keyed by day (ISO-8601 date), summing each symbol's quantity and value across all symphonies. Present only when include_aggregate_account_holdings is true.

Changes

No recorded changes to this operation across all 1 revision of this API.