nx_fin_assets_gate.nx
buildroot/runtime/nx_fin_assets_gate.nx
about
nx_fin_assets_gate.nx -- GATE for multi-asset forward pricing (tolerance, since exp is approximate).
Gold-like future: spot $100, r 5%, no carry, 1y -> F = 100*e^.05 = $105.13. FX: 1.10, dom 5% / for 3%, 1y
-> F = 1.10*e^.02 = 1.1222. Exits 0 iff all pass. license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_gate.nxnx_fin_bs.nxnx_fin_assets.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 8 | func chk_near(name: *u8, got: i64, want: i64, tol: i64, st: *i64) -> i64 |
| 14 | func chk(name: *u8, got: i64, want: i64, st: *i64) -> i64 |
| 20 | func main() -> i64 |