Look through a portfolio of funds and securities

POSThttps://api.sqx.com/v1/holdings/lookthrough

Submit up to 2 portfolios of up to 250 holdings each. Identify each holding by ISIN, CUSIP or ticker (a mix is allowed) and give it a weight or a value (one basis per portfolio; amounts are relative). A holding is a fund share class in the delivered fund reference file, or a direct security known to security master.

The answer is computed from one fund delivery (analysis_date) using the projected holdings weights the holdings file publishes:

  • exposures: every bucket family of the portfolio breakdown file (country,

GTAX sector tiers, currency, credit quality, coupon, maturity, duration by credit, bond sector), each stating its denominator (book, or the fixed-income sleeve) and denominator_pct, the share of the denominator in real buckets (coverage_pct), the share no holding's rows describe (unanalyzed_pct) and, for sleeve families, the portfolio share whose sleeve is unknown (unknown_pct). Each bucket lists every holding's contribution unless contributions is false.

  • fixed_income: the portfolio's bond sleeve and its weighted measures, each

with the share of the sleeve that carried its input.

  • lookthrough: net underlying positions summed across funds and direct

holdings, positions held by two or more submitted funds (with each fund's contribution and holdings date), and top-10 concentration.

Unresolved identifiers are listed with a reason. Their weight stays in the portfolio as unanalyzed weight unless rescale is true. A ticker resolves among listings whose ISIN carries ticker_country (default US) or the holding's own country. Direct securities carry only the currency their security master record states; their other attributes count as unanalyzed.

Requires the holdings.lookthrough grant. Each resolved holding is metered on the lookthrough product; a refused or failed request is not billed.

Authorization

Send your API key in the X-API-Key header. See Authentication.

Request body

application/json

portfoliosarray of object
portfolios[].namestring
portfolios[].holdingsarray of objectrequired
portfolios[].holdings[].identifierstringrequired

ISIN, CUSIP or ticker

portfolios[].holdings[].identifier_typestring: isin, cusip, ticker

Inferred from the identifier's form when omitted.

portfolios[].holdings[].countrystring

Two-letter ISIN country prefix a ticker resolves under, overriding ticker_country.

portfolios[].holdings[].weightnumber

Relative weight. Use weight or value on every holding of a portfolio.

portfolios[].holdings[].valuenumber

Position value, in one currency across the portfolio.

holdingsarray of object
holdings[].identifierstringrequired

ISIN, CUSIP or ticker

holdings[].identifier_typestring: isin, cusip, ticker

Inferred from the identifier's form when omitted.

holdings[].countrystring

Two-letter ISIN country prefix a ticker resolves under, overriding ticker_country.

holdings[].weightnumber

Relative weight. Use weight or value on every holding of a portfolio.

holdings[].valuenumber

Position value, in one currency across the portfolio.

namestring
rescaleboolean

Spread the portfolio over the resolved holdings.

ticker_countrystring
topinteger

Net underlying positions returned.

overlap_limitinteger

Overlapping positions returned.

contributionsboolean

List each holding's contribution to every bucket.

Response fields

Inside the envelope's data. Responses also carry errors and meta (Envelope).

analysis_datestring (date)
methodology_versionstring
rescaleboolean
portfoliosarray of object
portfolios[].namestring | null
portfolios[].weight_basisstring: weight, value
portfolios[].rescaledboolean
portfolios[].submitted_holdingsinteger
portfolios[].resolved_pctnumber
portfolios[].unresolved_pctnumber
portfolios[].holdingsarray of object
portfolios[].holdings[].identifierstring
portfolios[].holdings[].identifier_typestring
portfolios[].holdings[].ticker_countrystring
portfolios[].holdings[].weightnumber

The submitted amount, on a weight-basis portfolio.

portfolios[].holdings[].valuenumber

The submitted amount, on a value-basis portfolio.

portfolios[].holdings[].share_pctnumber

The holding's share of the submitted portfolio.

portfolios[].holdings[].weight_pctnumber

The share the analysis uses (after rescale).

portfolios[].holdings[].kindstring: fund, security
portfolios[].holdings[].isinstring
portfolios[].holdings[].namestring | null
portfolios[].holdings[].portfolio_idinteger | null
portfolios[].holdings[].holdings_asofstring | null (date)
portfolios[].holdings[].breakdown_measured_asofstring | null (date)
portfolios[].holdings[].looked_throughboolean
portfolios[].holdings[].fixed_income_sleeve_pctnumber | null
portfolios[].unresolvedarray of object
portfolios[].unresolved[].identifierstring
portfolios[].unresolved[].identifier_typestring | null
portfolios[].unresolved[].ticker_countrystring
portfolios[].unresolved[].weightnumber
portfolios[].unresolved[].valuenumber
portfolios[].unresolved[].share_pctnumber
portfolios[].unresolved[].reasonstring: invalid_identifier, not_found, ambiguous, ended_class, security_master_unavailable
portfolios[].unresolved[].fund_statusstring
portfolios[].unresolved[].status_datestring (date)
portfolios[].unresolved[].successor_isinstring
portfolios[].unresolved[].detailstring
portfolios[].unresolved[].candidatesarray of string
portfolios[].exposuresobject
portfolios[].fixed_incomeobject
portfolios[].fixed_income.sleeve_pctnumber
portfolios[].fixed_income.unknown_pctnumber
portfolios[].fixed_income.measuresobject
portfolios[].lookthroughobject
portfolios[].lookthrough.named_pctnumber
portfolios[].lookthrough.undisclosed_pctnumber

Weight the funds' sources state without naming positions.

portfolios[].lookthrough.not_looked_through_pctnumber

Resolved funds with no delivered holdings.

portfolios[].lookthrough.unresolved_pctnumber
portfolios[].lookthrough.positionsinteger
portfolios[].lookthrough.concentrationobject
portfolios[].lookthrough.top_holdingsarray of object
portfolios[].lookthrough.overlapobject

Status codes

StatusMeaning
200

The look-through of each submitted portfolio

400

Validation / parse error

401

Missing or invalid API key

403

Key valid but lacks required scope/field grant

405

Wrong HTTP verb for this path

413

More than 250 holdings in a portfolio, or more than 2 portfolios (messageCode 1051)

500

Unexpected server error

503

No fund delivery is published, or the delivery lacks an object its manifest lists (code 1090)

Talk to SQX

Tell us what data you need. Ask today and get a response today.

Or email inquiries@sqx.com