Section 037 Coming soon
Weekend and Gap Risk
The perpetual trades 24/7 while the index does not, so exposure is halved before the Friday close and restored after Monday checks.
The S&P 500 is computed only while US exchanges are open. The perpetual, like every Hyperliquid market, trades around the clock. Outside cash hours, the market's oracle has no fresh index value to anchor to, and its price is driven by perpetual traders and by whatever reference the market deployer uses for off-hours. When the cash market reopens, the price can gap to a new level.
Two risks follow. A weekend gap can move a leveraged position further than any daily volatility estimate expects, and off-hours prices can be less reliable for marking and liquidation. The strategy manages both with a schedule (all times US Eastern):
- Friday 15:00. Set
f_weekend = 0.5and trade down before the 16:00 close, while cash-hour liquidity is deepest. - Weekend. Hold the reduced position. No increases. Risk-reducing triggers still apply.
- Monday 09:30 open. Wait for the cash index to print and for the oracle to track it.
- Monday 09:45. If the oracle deviation is under 5 bps and no brake is active, set
f_weekend = 1.0; the next trade restores size subject to the band.
The same rule applies before US market holidays: the cut happens at 15:00 on the last trading day and is lifted 15 minutes after the next open.
The cost is that weekend rallies are only half captured. The design accepts that trade-off because gaps are the one risk the daily controls cannot see coming.