NINEDocs
Launching on Elysium
Open app
Trading

Order lifecycle

Every open and close is a two-step request and fill. The fill must use a HyperCore price stamped inside a window that starts after your request landed.

300 msFill delay D (3 blocks)
700 msFill window W
0.6–1.0 sTypical click → filled
0Cancels inside the window

Why fills use a future price

Elysium sees HyperCore data about 150–350 ms late, while a fast trader sees CEX prices sooner. If fills used the price at the moment of the click, informed traders would trade on stale quotes and drain the vault. So Nine never fills at a price that existed when you clicked.

The fill rule

valid fill price: hcTs ∈ [ t + D , t + D + W ]
D = 300 ms W = 700 ms
t is the time of the Elysium block that included the request; hcTs is the HyperCore timestamp stamped on the price.
Delay D · 300 msFill window W · 700 mstt + 300 mst + 1,000 msClickExpires → refund
  • Click: request in block N, time t
  • First eligible price
  • No cancel inside the window

Step by step

  1. 01
    The trader sends request(open | close). It is included in Elysium block N, at time t.
  2. 02
    A fill is valid only with a price whose HyperCore timestamp falls in [t + 300 ms, t + 1,000 ms].
  3. 03
    Anyone can call fill(id). Keepers do it on the first eligible block. With first-come-first-served sequencing and 100 ms blocks, that is almost always the first price at or after t + D.
  4. 04
    If no fill lands inside the window, the request expires: an open is refunded in full, and a close is retried at the next window.
  5. 05
    The trader cannot cancel a request while it is inside its window. This removes the free option to back out after seeing the price.

Timing budget

StepBudget
Click → request included~100–200 ms
Fill delay D300 ms
HyperCore data visible in the EVM150–350 ms
Keeper fill transaction included100 ms
Click → filled~0.6–1.0 s
Liquidation checkEvery block

Refunds and expiry

CaseOutcome
Open, no valid price in the windowExpires. Margin refunded in full.
Close, no valid price in the windowRetried at the next window.
A price sanity check failsThe fill reverts; the request waits for a valid price or expires.
Market paused by a circuit breakerNew opens are rejected. Closes queue up and fill on the first fresh price.
Last edited 2026-12Docs v0.1Launching on Elysium