Aller au contenu
EN English versionDemander une démo

Use Stooq for daily market data

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.

  • 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.

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.

None: it only reads public market data. Nothing is written.

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.

  • 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

Hosts the platform must be allowed to reach:

  • stooq.com