nx_fin_universe.nx
buildroot/runtime/nx_fin_universe.nx
about
nx_fin_universe.nx -- the UNIVERSE-SELECTION brain: given a scored candidate set (one row per symbol, each
carrying its screen verdict + backtest metrics + the honest-edge gates), decide WHICH names are actually
tradeable and rank them. This is "1000 microcaps -> the few worth capital", and it is HONEST BY CONSTRUCTION:
a name qualifies ONLY if it (1) passed the quality screen, (2) has a DEFLATED-Sharpe-significant edge, and
(3) has a PBO below the overfit ceiling. No name gets capital on an unproven or overfit edge. Pure ranking
(i64); the LIVE multi-symbol fetch that fills the candidate rows is a thin driver awaiting a real data key.
Composes nx_fin_microcap (screen verdict), nx_fin_advstats (deflated-significance), nx_fin_pbo (overfit prob).
license_tier: ORIGINAL
dependencies 1 imports · 1 importers
imports: nx_syscalls.nx
imported by: nx_fin_universe_gate.nx
structs
| none |
consts
| 10 | const UV_MAGIC_10000: i64 = 10000 |
| 11 | const UV_MAGIC_1000000000000: i64 = 1000000000000 |
| 13 | const UV_SCREEN_PASS: i64 = 0 // matches MC_PASS from nx_fin_microcap |
functions
| 16 | func uv_qualifies(screen_verdict: i64, deflated_sig: i64, pbo_permille: i64, max_pbo_permille: i64) -> i64 called by 1: main |
| 24 | func uv_score(ret_bps: i64, maxdd_bps: i64) -> i64 { return ret_bps * UV_MAGIC_10000 / (maxdd_bps + 1) } called by 1: main |
| 28 | func uv_select_topk(scores: *i64, qualified: *i64, n: i64, k: i64, out_idx: *i64) -> i64 |