history (default) | api.quote_history: one ticker, oldest first, 1 year to the latest session by default, paged with the function’s p_after cursor. With no id: the research universe (the tickers held). | Historical stock prices |
latest | api.quote_latest: the ticker’s newest session (raw, adjusted false). With no id: the research universe. | Latest closing price |
session | One session’s quotes from one price view (raw, adjusted false). Paged with order + limit + offset; the default session is pinned in the cursor. | Market session |
index | api.index_history: one B3 index code (IBOV, IFIX, …), levels as published (total-return indices, not adjusted). With no id the SQL refusal names the codes held. | Index history |
forward | api.trade_consolidated_history: one FORWARD-segment ticker; last_price is the close, ref_price is never a trade. | Forward prices |
risk | api.risk_decompose: one row for one share or unit. market_share, sector_share and residual_share of the daily return variance add to 1; betas, gamma (the sector index’s beta to IBOV), hedge ratios per R$ 1 long, annualized volatilities, and the same split without shock sessions (ex_shock_*). OLS cascade on daily simple returns from the joined total-return levels. The window is from..to (default 12 months); at most 1000 sessions. Realized and historical only, not advice. | Risk decomposition |