QuantBrasil
Documentação

quantbrasil assets overview

Consulta uma análise por seções para um ativo

Sintaxe

quantbrasil assets overview <ticker> --sections <sections>

Esta é uma operação de leitura. Modos de saída: json, human.

Argumentos e opções

NomeTipoObrigatórioDescriçãoPadrão
tickerArgumentoSimTicker do ativo, por exemplo PETR4
--sections <sections>OpçãoSimLista de seções separadas por vírgula. Seções válidas: price, performance, momentum, technicals, risk, fundamentals, rankings
--jsonOpçãoNãoExibe saída JSON

Exemplos

quantbrasil assets overview PETR4 --sections price,performance
quantbrasil assets overview PETR4 --sections price,fundamentals
quantbrasil assets overview PETR4 --sections price,technicals

Saída (--json)

Estrutura da resposta retornada com --json:

export interface AssetOverviewResponse {
  asset: AssetOverviewAssetInfo | null;
  as_of: AssetOverviewAsOfInfo | null;
  price: AssetOverviewPrice | null;
  performance: AssetOverviewValueItem[] | null;
  momentum: AssetOverviewMomentumItem[] | null;
  technicals: Record<string, JsonValue> | null;
  risk: Record<string, JsonValue> | null;
  fundamentals: Record<string, JsonValue> | null;
  rankings: AssetOverviewRankingItem[] | null;
  candles: JsonValue[] | null;
}

interface AssetOverviewAssetInfo {
  symbol: string;
  name?: string | null;
  type?: string | null;
}

interface AssetOverviewAsOfInfo {
  price_date: string;
  last_updated: string;
}

interface AssetOverviewPrice {
  close: number;
  open: number;
  high: number;
  low: number;
  volume: number | null;
  prev_close?: number | null;
  change_pct?: number | null;
}

interface AssetOverviewValueItem {
  id: string;
  label: string;
  value?: number | null;
}

interface AssetOverviewMomentumItem {
  id: string;
  label: string;
  regression_type: string;
  momentum?: number | null;
  r_squared?: number | null;
}

interface AssetOverviewRankingItem {
  id: string;
  label: string;
  position?: number | null;
  total?: number | null;
}

Exemplo de resposta

{
  "asset": {
    "symbol": "PETR4",
    "name": "Petrobras PN",
    "type": "B3"
  },
  "as_of": {
    "price_date": "2026-07-16",
    "last_updated": "2026-07-16T21:00:00Z"
  },
  "price": {
    "close": 37.61,
    "open": 37.2,
    "high": 37.9,
    "low": 37.05,
    "volume": 42000000,
    "prev_close": 37.1,
    "change_pct": 0.0137
  },
  "performance": [
    {
      "id": "return_1m",
      "label": "Retorno 1 mês",
      "value": 0.045
    }
  ],
  "momentum": [
    {
      "id": "momentum_90d",
      "label": "Momentum 90 dias",
      "regression_type": "log",
      "momentum": 0.12,
      "r_squared": 0.78
    }
  ],
  "technicals": {
    "rsi_14": 58.2
  },
  "risk": {
    "annualized_volatility": 0.32
  },
  "fundamentals": {
    "pe_ratio": 4.1
  },
  "rankings": [
    {
      "id": "momentum-90d",
      "label": "Momentum - 90 dias",
      "position": 12,
      "total": 120
    }
  ],
  "candles": null
}