OpenHedgeDocs
Menu

Part VI · Unified Executor

Section 062

Sizing Orders

The model trades a 100,000 USD reference book; the executor scales every target by the real equity of the strategy book.

f = NAV / model equityModel equity is the value of the 100,000 USD reference book.target = floor(f × model size, szDecimals)Rounded down to the coin size decimals.order = target − current positionOnly the difference is sent.skip if |order| × price < ~10 USDBelow the venue minimum; recorded as skipped.
Figure 62From model target to order size.

Product models do not know how much money a strategy book holds. Each model runs on a fixed reference book of 100,000 USD, which keeps its decisions independent of allocations and redemptions. The executor translates the model's targets into real orders with a single factor.

The sizing factor is f = NAV / model equity, where NAV is the book's latest net asset value and model equity is the current value of the reference book. Each coin's real target is f × model size.

The executor then applies venue rules:

  • Size decimals. The target is rounded down to the coin's szDecimals on Hyperliquid, so the book never exceeds the model's intended exposure.
  • Minimum order value. Orders below about 10 USD of notional are skipped and recorded as skipped, never silently dropped.
  • Difference trading. Only the difference between the real position and the target is ordered.
  • Entry conditions. Entries are allowed only with fresh data (at most 120 seconds old) and when book equity is at least half of the reference scale the model expects.

Because f moves with NAV, allocations grow positions and redemptions shrink them proportionally, while leverage stays the model's leverage. The model's limits (25 times gross and 35 times per coin) apply to the reference book; real leverage of the live book is far lower after scaling and is reported in the interface.

© 2026 HedgeFund DAO · OpenHedgeNot investment advice. Trading leveraged perpetuals can lose all deposited funds.