bymdp.dev
03 · Rate monitoringlive

Cash Yen Rates

What cash yen costs at Moscow banks right now: SBI Bank's rate against the market, a bank ranking, history and a calculator. The data is refreshed every few minutes.

Open the monitor Telegram bot Open to everyone, no sign-in.
The web version of the monitor: SBI Bank's selling rate in large type, below it a seven-day chart — the bank's line against the market range and its median; a calculator on the right, and three tiles below: the best rate, the bank's rank and the gap to the median.
The web version: SBI Bank's rate over seven days against the market. The gaps in the chart are nights: from 21:00 to 8:00 Moscow time the sources are not polled.
Why

A single rate says nothing until you can see the market

Only a few banks in Moscow exchange cash yen, and their rates differ by several rubles per hundred yen. Each aggregator shows its own part of the market and updates at a different time.

The monitor brings this into one picture: SBI Bank's rate from the bank's own website, and next to it the rest of the market, its median and its spread. You can see whether the rate is a good one right now, where it is better and how it has changed.

What is inside

Four tools

A single switch — “Buying yen” or “Selling” — changes everything at once: the rate, the chart, the ranking and the calculator.

  • 01Rate and chart

    The current rate and its change over a day, a week, a month or a year. The bank's line runs on top of the market range and its median.

  • 02Bank ranking

    Every bank with a quote — from the best rate to the worst, with the data source and the change over the week.

  • 03Calculator

    How many yen your amount buys: at the selected bank's rate, at the best rate and at the market median.

  • 04Alerts and digests

    In the Telegram bot: a message when the rate reaches a set price, and a digest — on every rate change, or once an hour, a day or a week.

Where the data comes from

The bank's rate comes from its own website, the market's from three aggregators

SBI Bank's rate is taken from the bank's own website, the other banks from aggregators. If the same bank appears in two of them, it is shown as one row with both sources listed.

Sources

  • SBI Bankthe bank's website: a rates file, with the exchange page as a fallback
  • RBCcash rates of Moscow banks
  • Banki.rubank rates by branch
  • Sravni.ruquotes from VTB and ATB

Rules

  • All rates are per 100 yen, in rubles
  • SBI Bank is checked every 5 minutes, the market every 15
  • At night, from 21:00 to 8:00 Moscow time, polling is switched off
  • If a source goes silent, its last good rates are shown for up to three hours
How it is built

Parsers break quietly — so someone is watching them

The process is alive, the page responds, yet the rate has not been updated for an hour: the main failure of such a service cannot be seen from outside.

  1. Collection

    Four parsers without a browser: plain requests and response parsing.

  2. Outlier filter

    A rate that deviates from the previous snapshot's median by more than 30% is not written to the history.

  3. History

    A snapshot of every bank's rates is written to the database every 15 minutes.

  4. Display

    The web version and the Telegram Mini App read the same data.

  5. Messages

    The bot checks the alerts and sends digests to subscribers.

Difficult sources
One site is protected by a JavaScript check — Python code solves it, without a browser. Another returns rates only with the flag of its own A/B experiment: without it the response came back empty, although the quotes were there.
Freshness watchdog
Every ten minutes a separate check looks at whether the rates were updated within the last hour and whether the mandatory sources are in place. At night it knows that silence is normal.
Automatic repair
If a source breaks, an executor agent fixes the parser in a separate branch, and a second agent — the skeptic — checks the change against the tests and the code diff. A human gets a message saying “the fix is ready”: merging and rebuilding is their decision.
How the code was written
The bot, the Mini App and the web version were written in dialogue with Claude Code. Sample responses from every site are kept in the tests, so a format change at a source is first caught by a test and only then fixed.

See the rate right now