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 10:33:56 +02:00
2026-07-12 00:40:14 +02:00
2026-07-14 06:11:37 +02:00
2026-07-13 13:38:32 +02:00
2026-07-11 06:37:17 +02:00
2026-07-20 19:06:24 +02:00
2026-07-12 10:45:37 +02:00
2026-07-14 12:14:54 +02:00
2026-07-11 06:37:17 +02:00
2026-07-20 19:06:24 +02:00
2026-07-14 06:11:37 +02:00
2026-07-19 00:25:26 +02:00
2026-07-11 10:39:03 +02:00
2026-07-11 10:28:38 +02:00
2026-07-18 12:25:41 +02:00
2026-07-11 10:28:38 +02:00
2026-07-11 10:28:38 +02:00
2026-07-11 10:28:38 +02:00
2026-07-11 10:28:38 +02:00
2026-07-14 06:11:37 +02:00
2026-07-11 10:39:03 +02:00
2026-07-11 10:39:03 +02:00
2026-07-11 10:28:38 +02:00
2026-07-18 15:08:57 +02:00
2026-07-11 20:19:32 +02:00
2026-07-11 10:28:38 +02:00
2026-07-11 10:33:56 +02:00
2026-07-12 23:56:16 +02:00
2026-07-11 10:39:03 +02:00
2026-07-11 10:33:56 +02:00
2026-07-11 10:28:38 +02:00
2026-07-14 05:34:05 +02:00
2026-07-15 15:22:25 +02:00
2026-07-20 15:17:16 +02:00
2026-07-11 10:28:38 +02:00
2026-07-11 10:28:38 +02:00
2026-07-11 10:28:38 +02:00
2026-07-12 23:56:16 +02:00