daloopa_query
Daloopa fundamentals lookup for commodity-exposed equities (read-only). Returns per-ticker structured fundamentals (revenue, opex, segment splits) sourced from issuer filings. Configure DALOOPA_API_URL + DALOOPA_API_KEY in .env; otherwise pass test_mode=true to receive deterministic mock fixtures suitable for CI and demos. No mutation — fail-open with mock if upstream is unreachable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric | No | Optional metric filter (e.g. "revenue", "segment_revenue", "opex"). Omit to return all available metrics. | |
| ticker | Yes | Equity ticker symbol (e.g. "CLF", "X", "FCX"). 1..16 chars, uppercase recommended. | |
| periods | No | How many fiscal periods to return (default 4, max 20). | |
| test_mode | No | When true, return deterministic mock fixtures and skip the external API call entirely. |