docs: round out the docs for Z7's example additions
* examples/README.md — replace the single-row WASM section with a build block (one-time `wasm-pack` build), a serve note, and the full five-row table (`index`, `backtest`, `live_trading`, `multi_timeframe`, `parallel_assets`). * examples/wasm/README.md — new dedicated index for the WASM demos with the build and serve commands and a description of every file including the module worker companion. * CHANGELOG.md `[Unreleased]` gains three bullets: the Python and Node `fetch_btcusdt` siblings; the four new WASM browser demos; and the three new wiki pages from Z6 (TA-Lib-Migration, Cookbook, FAQ).
This commit is contained in:
+17
-1
@@ -70,11 +70,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
tree: Rust moved into a new `examples/rust/` workspace member crate
|
||||
(`wickra-examples`, run via `cargo run -p wickra-examples --bin <name>`),
|
||||
Node into `examples/node/` with its own `package.json` linking `wickra` via
|
||||
`file:../../bindings/node`, and the WASM browser demo into
|
||||
`file:../../bindings/node`, and the WASM browser demos into
|
||||
`examples/wasm/`. The bundled BTCUSDT datasets move alongside them at
|
||||
`examples/data/`. Six new examples close the cross-language parity matrix:
|
||||
streaming demos for Python and Rust; multi-timeframe and parallel-assets
|
||||
demos for both Rust and Node.
|
||||
- Cross-language data-generator parity: `examples/python/fetch_btcusdt.py`
|
||||
(stdlib only: `urllib` + `json` + `csv`) and `examples/node/fetch_btcusdt.js`
|
||||
(Node 18+ built-in `fetch`) mirror the Rust `fetch_btcusdt` binary —
|
||||
byte-for-byte identical CSV output on the same Binance snapshot.
|
||||
- Four additional WebAssembly browser demos under `examples/wasm/`
|
||||
alongside the original `index.html`: `backtest.html` (fetch + basket of
|
||||
indicators), `live_trading.html` (browser-native `WebSocket` to
|
||||
Binance), `multi_timeframe.html` (in-page resample) and
|
||||
`parallel_assets.html` + `parallel_worker.js` (module-Worker pool with
|
||||
serial-vs-parallel speedup). The cross-language matrix is now closed
|
||||
for every cell where the pattern makes sense.
|
||||
- Three new wiki pages: `TA-Lib-Migration.md` (full mapping table from
|
||||
`talib.X(...)` calls to Wickra), `Cookbook.md` (seven concrete
|
||||
strategy recipes — RSI mean reversion, MACD crossover, Bollinger
|
||||
breakout, ADX-gated trend, multi-timeframe confirmation, SuperTrend,
|
||||
chained indicators) and `FAQ.md`. All three linked from `Home.md`.
|
||||
|
||||
### Fixed
|
||||
- `Timeframe::floor` no longer overflows for timestamps near `i64::MIN`.
|
||||
|
||||
Reference in New Issue
Block a user