Desk rules
Every rule below is enforced by the desk contract from HyperCore data. The values live in the book and apply to every desk.
| Rule | Value | Breach reason |
|---|---|---|
| Equity floor | 90% of the allocation | FLOOR |
| Daily floor | 95% of the UTC day's opening equity | DAILY |
| Leverage | total notional at most 5x account value | LEVERAGE |
| Markets | positions only in BTC, ETH, SOL, HYPE, XRP, DOGE, SUI, AVAX | MARKET |
The markets rule compares the total notional of the margin summary with the sum of the allowed markets' notionals; a gap larger than 1% plus one dollar means a position somewhere else.
The day opens at the first poke() or settle() after 00:00 UTC. The keeper sends it in the first seconds of the day; until then the previous reference holds.
Checks run when someone calls them. The keeper watches every desk through the info API every few seconds and sends poke() as soon as a rule is crossed. A fast move between the crossing and the closing orders can take equity below the floor before the positions are closed.
