Oracle3
Open-source trading engine and MCP server for prediction markets. Fee-aware no-arbitrage trading across related contracts, live on Kalshi, Polymarket and Solana or on paper.
Yield to maturity, current yield and holding-period return for a fixed-coupon bond, recalculated from free US Treasury end-of-day prices.
FinancePython · TypeScriptGitHub @HubertFongOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗See what a bond is really earning you. Bond Returns works out the yield to maturity, current yield and holding-period return of a fixed-coupon bond. It keeps them up to date with official US Treasury prices, entirely in your browser.
Use it: open hubertfong.github.io/bond-returns. The user guide explains every field and result in plain English.
Run it on your computer (needs Node.js 22):
git clone https://github.com/HubertFong/bond-returns.git
cd bond-returns
npm ci
npm run dev # then open http://localhost:5173/bond-returns/
Locally, the page uses a small sample price file, labelled as such on screen. Run python python/fetch_fedinvest.py to download the real prices.
US Treasury FedInvest GitHub Actions (weekdays + every push)
official end-of-day prices ───► fetch_fedinvest.py → treasury_prices.json
tests → build → deploy → live smoke test
│
▼
Your browser ◄───────────────────────── GitHub Pages (static site + price file)
reads the price file every 60 s and computes everything locally
There is no backend to run or pay for. Prices are collected by a scheduled GitHub Actions job and published with the site. The browser does all the maths.
| Read | If you want to |
|---|---|
| User guide | Use the app: fields, results, status badge, FAQ |
| Method | Check the maths: formulas, a worked example by hand, validation, edge cases |
| Developer guide | Run, test, deploy, operate or extend the code |
| Changelog | See what is in each release |
PRICE and YIELD functions on Microsoft's own documented examples.Proprietary. Copyright © 2026 Hubert Fong. All rights reserved. See LICENSE.