Codex
6990ff3bee
malkhut: asset-faithful book generation with composable toggles
Three independently toggleable features:
1. Asset-faithful depth/spread: levels sized by OB study power-law per asset
2. Intraday volume clock: depth scales by time-of-day (peak/trough)
3. Realistic spread: per-asset spread from OB study + Flight7
Composable via BookGenerationConfig toggles:
use_asset_faithful_depth, use_asset_faithful_spread, use_intraday_clock,
use_weekend_mode, use_stress_mode, use_fragility, worst_case_mode
worst_case_mode overrides everything for max adversarial learning:
spread * stress_mult, depth * fragility, no intraday/weekend.
DuckDB registry for online updates:
AssetRegistry: upsert/get/list/delete/query
RuntimeProfileCache: hot-reload during CWM runs
upsert_from_csv/export_csv: pipeline support
upsert_all_from_asset_behaviors(): seed from OB study
Results (8 assets):
BTC: spread 0.031 bps, depth $350M (normal) / $4.9M (worst)
DOGE: spread 2.86 bps, depth $2M (normal) / $132K (worst)
ADA: spread 11.8 bps, depth $10M (normal) / $511K (worst)
Intraday: BTC peak/trough = 2.8x depth ratio
All 99 tests green (31 new + 68 existing).
2026-07-20 19:06:24 +02:00
..
2026-07-11 21:57:04 +02:00
2026-07-11 10:36:30 +02:00
2026-07-20 19:06:24 +02:00
2026-07-14 02:33:31 +02:00
2026-07-11 10:31:31 +02:00
2026-07-11 10:31:31 +02:00
2026-07-18 17:44:20 +02:00
2026-07-15 00:11:57 +02:00
2026-07-12 20:52:56 +02:00
2026-07-20 19:06:24 +02:00
2026-07-20 19:06:24 +02:00
2026-07-18 15:08:57 +02:00
2026-07-11 10:21:27 +02:00
2026-07-14 14:46:44 +02:00
2026-07-11 10:23:44 +02:00
2026-07-14 17:39:24 +02:00
2026-07-11 10:39:03 +02:00
2026-07-11 10:39:03 +02:00
2026-07-11 10:26:01 +02:00
2026-07-11 10:26:01 +02:00
2026-07-14 23:07:38 +02:00
2026-07-11 10:21:27 +02:00
2026-07-11 10:21:27 +02:00
2026-07-11 10:41:31 +02:00
2026-07-15 00:48:48 +02:00
2026-07-15 19:32:46 +02:00
2026-07-19 05:47:34 +02:00
2026-07-19 19:06:10 +02:00
2026-07-11 10:41:31 +02:00
2026-07-18 17:44:20 +02:00