Financial statements (normalised)
get_financialsFetch income statement, balance sheet, and cash flow for BIST stocks from Yahoo Finance or official KAP filings. Use ticker for time series or disclosure_id for exact reported figures.
Instructions
Income statement, balance sheet and cash flow in one normalised schema (revenue,
gross_profit, operating_profit, ebitda, net_income, total_assets, cash, financial_debt,
equity, operating/investing/financing cash flow …) with the source line/taxonomy name per
field and the reporting currency. Two sources: ticker → Yahoo Finance time series
(several periods); disclosure_id → the official KAP filing (source: kap, exact
figures, labels '(3M)' quarter vs '(YTD)' cumulative). Find FR ids with
search_disclosures(tickers=[…], disclosure_type='FR').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Subset of normalised fields; default all (see get_reference_codes.financial_fields) | |
| ticker | No | BIST ticker, e.g. THYAO — time series from Yahoo Finance | |
| periods | No | ||
| frequency | No | Yahoo series only | quarterly |
| disclosure_id | No | A KAP financial-report (FR) disclosure id — the official filing parsed from KAP's XBRL data (current period + prior-year comparatives) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||