Use Stooq for daily market data
- graal Agentic Platform
- Version 0.30 (actuelle)
- Open source · Apache 2.0
- Source : graalsystems/tranibor-agents@983db67
For a project owner. Procedure connector.marketdata.stooq, version 1, reviewed 2026-10-16 against the vendor’s own pages. It applies to the connector type marketdata/stooq.
It ships with the plugin investment-research 0.1.5: its source. In the console, once the plugin is installed, it opens with How to set this up on the connector of the plugin’s server, and on Library › Plugins.
Addresses are written <api_url>, <public_url> and <org> here: the console shows the same text with your deployment’s own.
Before you start
Section intitulée « Before you start »- Stooq serves daily bars as CSV, free. Read Stooq’s terms of use before relying on it.
- It is the right default for a study or a backtest on daily closes; it is not a real-time feed.
At the vendor
Section intitulée « At the vendor »Stooq may demand an apikey on CSV downloads, obtained once through its site. Without one, the endpoint can
answer a “get your apikey” page instead of data. Get the key there and put it in api_key.
Permissions
Section intitulée « Permissions »None: it only reads public market data. Nothing is written.
In Tranibor
Section intitulée « In Tranibor »Connectors, Market data, type Stooq. suffix_map maps your tickers to Stooq’s market suffixes
(for example the empty suffix to .us, .L to .uk). timeout_s defaults to 20.
Press Test, then call get_instrument and get_bars for a known ticker.
When it fails
Section intitulée « When it fails »- A “get your apikey” answer: set
api_key. - No bars: the ticker’s suffix is not in
suffix_map, so Stooq does not know the symbol. - Empty or truncated data: the market was closed, or the date range has no sessions.
- A timeout: the egress allowlist must open
stooq.com.
| Field | What to put in it |
|---|---|
api_key |
an optional key, typed once |
suffix_map |
ticker suffix to Stooq market suffix, for example {“”: “.us”, “.L”: “.uk”} |
timeout_s |
request timeout in seconds |
Network egress
Section intitulée « Network egress »Hosts the platform must be allowed to reach:
stooq.com