jgrusewski
dc2fcac103
feat: GPU-native risk integration — Kelly, sqrt impact, order-type costs
4 priorities from risk module investigation:
P1: Kelly fraction sizing — new kernel parameter kelly_scale (f32).
Computed per-epoch on CPU, uploaded as scalar. Stacks with
CVaR × conviction: size = exposure × CVaR × conviction × kelly.
P3: Square-root market impact (Almgren & Chriss 2000) — replaced
quadratic x² with √x. Academic standard for futures markets.
Less penalty for moderate sizes, more realistic.
P4: Order-type tx cost differentiation — decode order_type branch
from factored action. Market=+0bps, IoC=+2bps, LimitMaker=-5bps.
LimitMaker rebate teaches model to prefer limit orders.
P2 (C51 VaR) deferred — IQN CVaR already provides this signal.
Position sizing chain is now:
target = exposure × max_pos × CVaR × conviction × kelly
cost = |delta| × price × (tx_mult × spread × √impact + order_premium)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 12:22:26 +01:00
..
2026-03-13 10:18:35 +01:00
2026-03-11 08:46:58 +01:00
2026-03-12 19:10:18 +01:00
2026-03-14 11:35:15 +01:00
2026-03-13 10:18:35 +01:00
2026-03-13 10:18:35 +01:00
2026-03-01 22:47:39 +01:00
2026-03-23 12:22:26 +01:00
2026-03-13 10:18:35 +01:00
2026-03-13 10:18:35 +01:00
2026-03-13 10:18:35 +01:00
2026-03-23 09:21:58 +01:00
2026-03-01 22:47:39 +01:00
2026-03-13 10:18:35 +01:00
2026-03-23 09:24:55 +01:00
2026-03-18 20:09:37 +01:00
2026-03-17 22:27:56 +01:00
2026-03-15 11:59:31 +01:00
2026-03-22 14:48:40 +01:00
2026-03-19 00:39:03 +01:00
2026-03-13 10:18:35 +01:00
2026-03-13 10:18:35 +01:00
2026-03-20 15:41:42 +01:00
2026-03-16 21:01:28 +01:00
2026-03-13 10:18:35 +01:00
2026-03-13 10:18:35 +01:00
2026-03-13 10:18:35 +01:00
2026-03-10 13:18:57 +01:00
2026-03-20 15:41:42 +01:00
2026-03-13 10:18:35 +01:00
2026-03-13 10:18:35 +01:00
2026-03-13 10:18:35 +01:00
2026-03-18 00:53:47 +01:00
2026-03-14 11:35:15 +01:00
2026-03-01 22:47:39 +01:00
2026-03-15 11:59:31 +01:00
2026-03-01 22:47:39 +01:00
2026-03-03 22:16:35 +01:00