#2 — JPY exposure bug fix
Hypothesis — what it tests
Whether the system-wide trade blockage was caused by a currency-exposure math bug rather than by the strategies or the risk limits themselves.
Description
All trading in the portfolio manager was silently blocked: JPY-quoted pairs computed notional as units x entry_price without converting yen to dollars, so with USD/JPY near 150-160 the JPY exposure read 29,000%+ instead of the real ~190%, tripping the currency-exposure cap for every pair. The fix added a USD/JPY price tracker (5-minute refresh) and divided JPY notionals by it, and raised the per-currency risk limit from 40% to 200%. Positions immediately rose from 13 to 32 and blocked pairs fell from 14 to 9. The audit table files it under 'Measurement — the apparatus itself can lie': a units-arithmetic bug in the risk layer had the same silencing power as a bad signal.
Key result
Algorithms
Interactive version (search, filters, figures): the experiment explorer.