code wiki / (root) / nx_fin_paper_gate.nx

nx_fin_paper_gate.nx

buildroot/runtime/nx_fin_paper_gate.nx

2872 B52 linesdepth 5pulls 6 transitivereach 0 importersview sourcekind gate/prooftopic fin
docsdependenciesstructsconstsfunctions

about

nx_fin_paper_gate.nx -- R5 GATE: proves the in-sample/out-of-sample split, the OOS-only backtest run, and the edge-survival test. Reuses the 5-bar fixture: split=0 reproduces the full-series result (net +6250); split=3 runs ONLY bars[3,4] (signals 1,0) -> a single losing OOS trade (net -41650). Exits 0 iff all pass. license_tier: ORIGINAL

dependencies 4 imports · 0 importers

nx_gate.nx nx_fin_marketdata.nx nx_fin_backtest.nx nx_fin_paper.nx nx_fin_paper_gate.nx

imports: nx_gate.nxnx_fin_marketdata.nxnx_fin_backtest.nxnx_fin_paper.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main chk gw sys_write gn sys_write ↻ sys_mmap pp_split md_parse_csv md_find md_date_key md_price_cents md_atoi pp_oos_run sys_mmap ↻ bt_run bt_position_size md_capacity pp_edge_survives gw ↻ gn ↻

structs

none

consts

none

functions

10func chk(name: *u8, got: i64, want: i64, st: *i64) -> i64
called by 1: main calls 2: gwgn
16func main() -> i64