Skip to main content
Version: v5

How prices are collected

This page explains where SuiviBourse gets its prices, how often it fetches them, and what to do when a price stops updating.

Where prices come from​

Prices and exchange rates come from Yahoo Finance. The app fetches a price for each security you hold, using the symbol written in your events, for example ABCD.PA or XYZ. A symbol Yahoo does not know gets no price.

The app only polls securities you currently hold. When you sell a position completely, its polling stops. Its past prices stay stored, because your returns still need them.

How often​

Each security follows its own market's hours.

Market stateWhat the app does
OpenFetches the price every 2 minutes (Quote frequency).
After the closeFetches again every 5 minutes for up to 30 minutes, to record the official closing price.
ClosedWaits until the market opens again, at most 24 hours. If the next opening is unknown, it tries again after 1 minute.

Past prices are fetched by a separate task, the history rebuild. See Rebuild and resolution.

Adjust the cadence​

The dials are in Settings → Advanced.

SettingDefaultWhat it changes
Quote frequency2 minHow often prices refresh while a market is open. Also the base of the retry delay below.
Recalculation frequency1 minHow often the history rebuild runs.
Pause between requests10 secThe wait between two requests of the history rebuild.
History depth365 dDays of past prices fetched per request.
Frozen-quote threshold15 minHow long a price may stay unchanged, market open, before the app flags it. 0 turns the check off.

A change takes effect without a restart.

A symbol that stops answering​

A symbol can be mistyped, delisted or renamed. When a fetch returns no price:

  1. The first three failures retry at the normal cadence.
  2. From the fourth, the delay doubles at each failure, up to 24 hours.
  3. The first price received brings the symbol back to the normal cadence.

A closed market does not count as a failure.

While it fails, the Quote update row of the System page shows a tall bar for that hour. /health reports failing, then backoff, and lists the symbol under attention. If no price was ever received, the Shares page says No price was received for this share.

Until a price arrives, the holding is counted at its purchase price. See Read your figures.

To fix it:

  1. Look the symbol up on Yahoo Finance and note the exact spelling, including the exchange suffix.
  2. If it differs, correct the symbol in your events in the Ledger.
  3. On the System page, press Run on Quote update to fetch at once.

Currency conversion​

Your figures are in your base currency. Securities are quoted in their own currency. Each stored price keeps three values: the price in its own currency, the price in your base currency, and the exchange rate used. A figure from years ago is converted at the rate of its own day.

Some exchanges quote in a subunit. The app converts it for you:

Quoted inRead as
GBp (pence)1/100 of GBP
ILA (agorot)1/100 of ILS
ZAc (cents)1/100 of ZAR

When a rate is missing, the price is still stored, and the figure says waiting for a rate. The history rebuild fills in the rate later. If no rate exists at all for a currency, the History rebuild task shows Needs a look and /health reports unconvertible.

Until you choose a base currency, prices are stored in their own currency only and no performance is computed. Once you choose it, every stored price is converted.

What a frozen price looks like​

The Frozen-quote threshold drives two signals.

WhereWhat it saysWhat it means
BellThe price of a security has not moved since a timeMarket open, but no new price was stored within the threshold. The value shown may be slightly behind.
System page, followed securitiesfrozen since a time, with a number of passesThe stored price has stayed the same for longer than the threshold while the live price moves. /health reports frozen.

The first usually clears at the next pass. The second means prices are fetched but the stored one does not change. It does not stop polling.

If a signal stays:

  1. Open the Journal from the System page, and choose Warnings.
  2. Search for the symbol.
  3. Press Run on Quote update.