Source for the Wickra Backtest site (backtest.wickra.org): hero, per-language API overviews, benchmarks and the in-browser indicator demo. Built with VitePress.
The structure mirrors webpage
(wickra.org) and wickra-docs
(docs.wickra.org): shared header, footer, theme, badge pipeline and workflows.
Wickra Backtest — streaming-native, event-driven backtester where a backtest and a live run over the same JSON spec are byte-identical. The library itself is
wickra-lib/wickra-backtest; its README carries the install line and a quick start for every language.
npm install
npm run dev # local dev server
npm run build # production build (also fails on dead internal links)
npm run preview # preview the production buildThe demo page loads the published wickra-wasm
bundle from npm — the indicator core the product is built on — so it runs the real
indicators in the browser.
- The released version — the version menu in the nav, the Maven snippet on the landing page and the Java API page — is pulled hourly from wickra-backtest's latest release by
sync-from-backtest.yml. - The demo's
wickra-wasmbundle follows the core's latest release, refreshed by the same workflow (package.json and the lockfile together). - The status badges in the footer are snapshots refreshed hourly by
refresh-badges.yml; the SVGs inpublic/badges/are generated, not edited.
Everything else — the copy, the API pages, the benchmark figures (from the repository's BENCHMARKS.md) — is edited here by hand.
Static build via Cloudflare Pages (Git integration, no deploy secret):
- Build command:
npm run build - Output directory:
.vitepress/dist - Node version: 22 (
.nvmrc)
Custom domain backtest.wickra.org is configured in the Cloudflare Pages dashboard.
Dual-licensed under MIT or Apache-2.0, at your option.