Ticket
You choose SOL, a direction (Call or Put), a strike in USDC, an expiry at 08:00 UTC and a risk budget B in USDC. The ticket shows the model premium per unit c, units q = B ÷ c, the required margin, the open fee, the operations reserve and the total transfer before you sign.
A quote is valid for 30 seconds. After that, signing needs a refreshed estimate and the ticket shows which numbers changed.
Model
European Black–Scholes at zero rate. Volatility is the realized volatility of hourly SOL-PERP marks over the last 7 days, annualized. The engine records the model version, price source (Pyth SOL/USD and the Drift SOL-PERP mark) and time at open.
Opening is refused with less than 72 hours of price history, without a fresh price, or without enough margin.
Keeper
Once a minute the keeper computes the target hedge q × delta (negative for puts) and sends only the difference from the executed size, and only when it exceeds 5% of q. Each rebalance costs 0.02 from the service balance. Orders that reduce risk are always reduce-only.
Take-profit rule
Optional, off by default, fixed at signing. When net P&L marked at the executable close price, after estimated fees, reaches +B, the keeper creates one reduction command. q becomes q ÷ 2 and the hedge is brought down to the new target.
- Repeated ticks above +B do not create more commands.
- Partial fills are recorded as they land; after a restart the keeper sends only the missing size and never restores the original exposure.
- The closed half keeps its result if SOL turns after the first fill.
- Reaching +B sends the order. It does not guarantee the fill price.
- The −B floor keeps applying to the whole original position.
Floor and expiry
At net −B or at expiry the remaining hedge is closed with a reduce-only order. When expiry, an owner close and a rule tick land at the same moment, the full close wins. A gap or a liquidation can produce a loss larger than B; payouts come only from the funds of that position account.
Worked example
SOL at 72.00, 7-day call, strike 74, realized volatility 58%, B =
100. The model premium is about
1.49, so q ≈ 67.1 units and the first hedge is about
25.6 long. Required margin is 100 + 10% × 67.1 × 72 ≈
583.1, open fee
1.93, reserve
0.50.
On day 3 SOL trades near 76.00 at 02:14 UTC and net P&L reaches
+100.4. One command reduces the hedge from
~45.6 to
~22.8 in three fills. The reduced half locks about
+50; the other half runs to expiry with q ≈ 33.5 units.
Funds
Each position has its own account under the Halfmark program, in USDC. Only the owner wallet can add margin, close or withdraw, and withdrawals go to the owner address only. After a close, withdrawal opens when the hedge, funding and network balance are reconciled.
The service balance pays for rebalances. The operations reserve of 0.50 per position pays for a close when the service balance is empty. After launch, $HMARK can top up the service balance.
Limits
Pilot parameters: one market (SOL-PERP on Drift), risk budget 10–5,000, expiry 3, 7 or 14 days, strike within 40% of the mark. Amounts and rates in these rules are pilot parameters.