Portfolio Replication

Sparse Index Tracking Portfolio

Construct a portfolio as close as possible, in terms of returns, to a benchmark, optionally subject to:

  • A maximum number of assets constraint
  • Minimum and maximum weights constraints
  • Minimum and maximum group weights constraints
  • Minimum and maximum portfolio exposure constraints

References

post/portfolios/replication/index-tracking/sparse

Request

  • Base URL
    https://api.portfoliooptimizer.io/v1
  • URL
    https://api.portfoliooptimizer.io/v1/portfolios/replication/index-tracking/sparse
  • Auth
    API key in header X-API-Key

Request body

benchmarkReturnsnumber[] required

benchmarkReturns[t] is the return of the benchmark at the time t; the benchmarkReturns array must have the same length as all the assetReturns arrays

Response

OK

assetsWeightsnumber[] required

assetsWeights[i] is the weight of the asset i in the portfolio, in percentage

Changes

No recorded changes to this operation across all 22 revisions of this API.