Skip to main content
GET
Risk decomposition

Overview

Split one share’s daily return variance into the Ibovespa, a B3 sector index made orthogonal to it, and the residual specific to the stock. One row with the three shares (they add to 1), betas, hedge ratios per R$ 1 long, annualized volatilities and the same split without shock sessions. Realized and historical only, not investment advice.

Coverage

Coverage varies by dataset and date. Check current dataset coverage before drawing conclusions from missing data.

Try the API

Request and response schema

Example

Method

OLS cascade on daily simple returns, computed from the stock’s total-return closes and the total-return index levels after they are joined on the date:
Every step, the sector map, the shock and liquidity checks and a worked example: How the risk decomposition is computed.

Example response

Computed with api.risk_decompose’s method on the production ITUB4 and index rows of 2025-11-18 to 2026-11-25, before the endpoint was deployed. This excerpt omits fields and pagination links.

FAQ

When present, follow next_page_url to request the next page. See pagination and errors.
Yes. Connect an agent through the MCP server.
Python DataFrames

Headers

Authorization
string

Optional Bearer token for signed-in or Pro access.

Query Parameters

ticker
string
required

Trading symbol of a share or unit.

from
string<date>

Start date (YYYY-MM-DD).

to
string<date>

End date (YYYY-MM-DD).

sector
string

Sector leg: none, or a B3 index code other than IBOV. Omit to use the map from the company's CVM sector.

limit
integer

Rows per page, subject to your tier.

Required range: x >= 1
cursor
string

Cursor from the next page URL.

details
boolean
default:false

Include request diagnostics.

Response

The v2 envelope.

data
any[]
required

Always a list. Rows as the endpoint returned them; null stays null.

meta
object
required
next_page_url
string

Present only when more rows remain. It carries one opaque cursor.