Files
fxhnt/tests/integration
Jeroen Grusewski fb4cb49b18 fix(positioning): cap live paper-book positions + report-ref path (coin_gross_cap; Task-7-review Critical+Important)
Threads positioning_coin_gross_cap through the two remaining uncapped
paths found by the Task-7 whole-branch review:

- Critical: combined_symbol_weights / combined_symbol_weights_and_returns /
  latest_raw_sleeve_weights / derive_and_persist_bybit_paper_book /
  build_bybit_paper_book now accept positioning_coin_gross_cap and forward
  it into sleeve_weights_and_contributions, so the live Bybit paper-book's
  ACTUAL persisted positions honor the same per-coin cap as the reconciled
  return. The nightly bybit_paper_book asset now passes
  POSITIONING_COIN_GROSS_CAP.
- Important: bybit_4edge_backtest_summary gained a positioning_coin_gross_cap
  sibling next to positioning_tail_cap_k, forwarded into
  BybitFourEdgeStrategy; report_backtest_summary now passes
  POSITIONING_COIN_GROSS_CAP alongside POSITIONING_TAIL_CAP_K.

Scope: coin_gross_cap only (the EX-ANTE weight cap) — capacity_capital and
tail_cap_k are gains-only return haircuts and do not belong on the weight
path. Default None everywhere (OFF = byte-identical).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-20 19:46:21 +00:00
..