Market Order

Market Orders
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 SHORTsize
: Position size in base assetstopPrice
: 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