Market Order
Last updated
Execute immediately at best available price. Routing algorithm splits between order book and AMM based on market conditions.
Parameters:
instrument: Trading pair (e.g., BTC-USD)
side: LONG or SHORT
size: Position size in base asset
stopPrice: Optional maximum acceptable price
Execution Flow:
Validation of parameters and margin
Oracle price aggregation
Hybrid Order Router analysis
Venue split determination
Atomic execution
Position update with weighted average entry
Last updated