# Fee Optimizer

> When to use ALO (fee-optimized) vs MARKET orders on Hyperliquid via Senpi, and standard order params for entry/exit/TP. Use when configuring execution.

- Skill: `enuno/fee-optimizer` (Agent Skill, multi-file: 6 files)
- Install (CLI): `npx skillmds@latest add enuno/fee-optimizer`
- Raw SKILL.md: https://api.skillmd.com/api/skills/enuno/fee-optimizer/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- License: MIT
- Author: enuno (https://skillmd.com/u/enuno)
- Updated: 2026-08-19
- Page: https://skillmd.com/skills/enuno/fee-optimizer

---


# Fee Optimizer

Use this skill when the user or another skill needs: (1) when to use fee-optimized (ALO) vs aggressive (MARKET) execution, or (2) standard order parameters for entry, exit, take-profit, or stop/emergency.

**When to use ALO:** Planned entries, take-profit exits, scaling in, margin edits. Use MARKET for stop losses, emergency exits, and time-sensitive momentum entries.

**References:**
- [references/alo-guide.md](references/alo-guide.md) — Full ALO guide (three modes, fee math, executionAsMaker).
- [references/order-params.md](references/order-params.md) — Canonical orderType and feeOptimizedLimitOptions per context.

**Scripts:**
- `scripts/get_order_spec.py` — Returns order spec (orderType + options) for a given context (entry, exit_tp, exit_sl, exit_emergency).

When you change this skill, bump `metadata.version` in this file so the skill-update checker can notify users; they apply updates with `npx skills update`.

