Fee-Optimized Execution (Maker-First Orders)
Updated Jun 9, 2026 · 1 min read
Cut trading fees with maker-first orders, tune the fallback to market for fill certainty, and handle the 2026 order-options schema change.
FEE_OPTIMIZED_LIMIT places a maker ALO order - cheaper than MARKET (taker). With Runtime 1.1.0 (May 2026), maker-first is the default on entries and exits, so most agents do not need to specify orderType per call.
Controlling fallback behaviour
Option A
ensureExecutionAsTaker: true - Fill certainty
- Falls back to market after
executionTimeoutSeconds(default 45s) - Use when execution certainty matters
- ✗ Pays taker fee on fallback
Option B
Omit (or false) - Fee minimization
- Order stays maker indefinitely
- Cheapest possible fees
- ✗ May rest until filled or cancelled
Schema migration (March 2026)
The ensureExecutionAsTaker flag is no longer a top-level field on Senpi MCP calls. It moved into the feeOptimizedLimitOptions object. New shape:
{
orderType: 'FEE_OPTIMIZED_LIMIT',
feeOptimizedLimitOptions: { ensureExecutionAsTaker: true, executionTimeoutSeconds: 30 }
}If you hit a DEPRECATED_FIELD error mentioning ensureExecutionAsTaker, update your agent's MCP client or skill to the new schema.
Also note: edit_position and close_position no longer accept orderType: LIMIT. They return EDIT_LIMIT_NOT_SUPPORTED or CLOSE_LIMIT_NOT_SUPPORTED if you pass it. See Opening, editing, and closing positions for full position-management semantics.
For cancelling fee-optimized orders that may rest indefinitely, see Opening, editing, and closing positions on cancel_order.
Related articles
Senpi fees and referrals: 0% Senpi fees on paid plans
Paid Senpi plans trade with 0% Senpi fees; you pay only Hyperliquid's exchange fee. Plus maker-first orders and 15% referral rewards.
Arena Competition
Trade for a slice of the $100K+ Senpi Arena pool, with $5K guaranteed weekly. Rank by ROE, hit $25K volume, and get paid to your Main Wallet.
Senpi Points: how to earn points on every trade
Earn Senpi Points on every $1 of perps volume: 1.5 on Pro, 2 on Advanced, 3 on Quant. How points update, and why to ignore token-launch DMs.