⚠ INTERNAL — Operator UX mock · Design preview of V2 development path · demo-wired ≠ production-live · back to dev guide
Polygon · pUSD 10
📓 Developer Guide 📋 Reason Codes 📈 Shadow Mode
JD John Doe · Admin

FeeSlippageEstimator

exec.fee_slippage_estimator
Execution planned Spec ready frozen

Stamps every approved OrderIntent with an explicit fee + slippage estimate before the order shaper sees it.

What it does

Stamps every approved OrderIntent with an explicit fee + slippage estimate before the order shaper sees it. The estimate is a structured object (maker_fee_bps, taker_fee_bps, expected_slippage_bps, total_cost_usd) that downstream tools and UIs all read instead of guessing.

Pipeline placement

runs after: intel.orderflowanalyzer FeeSlippageEstimator runs before: exec.smart_router, exec.order_shaper

Applies to: Per OrderIntent

Why it matters

If this failsConsequence
Hidden cost surprisesWithout a per-order estimate, post-trade reports are the first place anyone learns the order was unprofitable after fees.
Inconsistent cost modelsEach strategy inventing its own cost estimate produces inconsistent reports and dashboards.
Affiliate/builderCode accountingThe builder-fee component on V2 must be visible per order to track attribution correctly.

Inputs

Polymarket inputs

InputSourceRequiredUse
Live OrderBookSnapshotintel.orderflowanalyzerrequiredEstimate slippage from depth profile.
Polymarket fee schedule (maker/taker/builder)ConfigrequiredCurrent tier fees.

Internal inputs

InputSourceRequiredUse
OrderIntentStrategy botrequiredThe order to estimate.
Market microstructure priorintel.liquidity_decay_monitoroptionalImproves slippage estimate when available.

Authority

What this bot is permitted to do

Annotate

State

Readiness

Spec ready

Status

planned

Class

Execution Utility

Default mode

shadow

Developer owner

Execution pod

Capital impact

Direct

Reason codes emitted

CodeSeverityMeaningAction
EXEC_COST_ESTIMATEDP2Exec Cost EstimatedSee decision output and developer log for context.
EXEC_COST_FALLBACKP2Exec Cost FallbackSee decision output and developer log for context.
EXEC_COST_FEE_SCHEDULE_STALEP2Exec Cost Fee Schedule StaleSee decision output and developer log for context.

Used by

Reverse index — strategies that currently reference exec.fee_slippage_estimator. If you change this bot's authority or reason codes, these strategies must re-pass shadow.

StrategyStateActivity
Fed Rates — surprise driftfrozenlast triggered 29m ago

Showing 1 of 1 · demo-wired ≠ production-live

Why this matters

Execution bots does NOT propose new positions; only routes and shapes approved intents. Understanding the authority boundary prevents misuse and makes promotion-gate reviews faster and more reliable. View raw spec JSON →
Polytraders Operator UX Mock · INTERNAL · demo-wired ≠ production-live · the plan · reason codes · shadow-mode pipeline
⚙ Page Configuration
Current page settings
Loading configuration…