Fee-Optimized Execution (Maker-First Orders)
Updated May 22, 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](https://github.com/Senpi-ai/senpi-trading-runtime) (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 article 13 for full position-management semantics.
For cancelling fee-optimized orders that may rest indefinitely, see article 13 on cancel_order.
Related articles
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.
Fees, Loyalty Tiers, and Referrals
What a Senpi trade costs, plus three ways to pay less: maker-first execution, volume loyalty tiers up to 50% off, and 25% referral rewards.
Senpi Points (Season 2)
Earn Senpi Points on every trade in Season 2 (Feb 1 - May 31), how they set your fee tier, and why to ignore token-launch DMs.
