quant-opts 0.1.0

High-performance Rust library for option pricing and risk
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Vanilla web JS demo

Build wasm bindings (via Makefile target):

```bash
make wasm-bindings
```

Serve locally (from this directory):

```bash
cd examples/vanilla_web_js
python -m http.server 8989
# open http://localhost:8989
```

The page imports `../../target/wasm/pkg-web/wasm_api.js` generated by wasm-pack and computes a call price.