← Araçlar

compare_financials

Compare financials · salt-okunur

Side-by-side values of metrics and ratios for several companies in one call. Rows are
    returned in the order given, with currency per company — no ranking or judgement.

Parametreler

adtipzorunluvarsayılanaçıklama
tickers array<string>
maxItems=15, minItems=2
evet e.g. ['THYAO','PGSUS']
metrics array<string>
maxItems=15, minItems=1
evet Normalised fields and/or ratio names, e.g. ['revenue','net_income','roe','net_margin']
period string '2026Q2' or '2025'; default latest available per company
frequency enum: annual | quarterly "quarterly"

Girdi şeması

{
  "properties": {
    "tickers": {
      "description": "e.g. ['THYAO','PGSUS']",
      "items": {
        "type": "string"
      },
      "maxItems": 15,
      "minItems": 2,
      "title": "Tickers",
      "type": "array"
    },
    "metrics": {
      "description": "Normalised fields and/or ratio names, e.g. ['revenue','net_income','roe','net_margin']",
      "items": {
        "type": "string"
      },
      "maxItems": 15,
      "minItems": 1,
      "title": "Metrics",
      "type": "array"
    },
    "period": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "'2026Q2' or '2025'; default latest available per company",
      "title": "Period"
    },
    "frequency": {
      "default": "quarterly",
      "enum": [
        "annual",
        "quarterly"
      ],
      "title": "Frequency",
      "type": "string"
    }
  },
  "required": [
    "tickers",
    "metrics"
  ],
  "title": "compare_financialsArguments",
  "type": "object"
}

Çıktı şeması

{
  "additionalProperties": true,
  "title": "compare_financialsDictOutput",
  "type": "object"
}