index

PUT /index/{uuid}/target_portfolio

replace the portfolio for this index. Will eventually but not immediately affect /index/uuid/portfolio.

Request

Path parameters

uuidstring required

uuid of the resource

Request body

divisornumber

A scaling factor to apply for the SHARES of the portfolio constituents

external_idstring

An external ID to reference this portfolio with. Must be unique per index.

share_selection_datestring
target_portfolio_type'EOD' | 'INTRADAY'

Whether its an end of day portfolio or an intraday portfolio.

timestampstring required
unit_of_measure'SHARES' | 'WEIGHT' required

Used to indicate if portfolio amounts are absolute or relative. weight indicates portfolio amounts are relative weights units indicates portfolio amounts are absolute values, e.g. shares or number of contracts

Example request

{
  "positions": [
    {
      "asset_type": "EQUITY",
      "identifier_type": "FSYM_ID",
      "position_id": "1",
      "price": 152.34,
      "price_currency": "EUR"
    }
  ],
  "share_selection_date": "Sun, 02 Jan 2022 01:02:03 GMT",
  "timestamp": "Sun, 02 Jan 2022 01:02:03 GMT"
}

Response

OK, portfolio successfully written and validated.

Changes

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