post
https://sandbox.kyan.sh/market
Execute a "marketable limit order" against the orderbook with built-in slippage protection.
Key Features:
- Slippage Protection: Requires
limit_priceto prevent execution at unfavorable prices - Immediate Execution: Fills immediately against available liquidity (IOC/FOK)
- Multi-Asset: Supports both options and perpetual futures
Unlike traditional market orders, Kyan's market orders won't execute beyond your limit_price, protecting you from excessive slippage during volatile conditions.
Important Constraints:
- Price Increment: The
limit_pricemust be divisible by the minimum price increment for the base asset (seeGET /api/v1/exchange_info→orderConstraints.priceIncrements) - Size Increment: Order size (
contractsfor options,amountfor perpetuals) must be divisible by the size increment (seeGET /api/v1/exchange_info→orderConstraints.options.sizeIncrementsororderConstraints.perpetuals.sizeIncrements) - Minimum Size: Order size must meet minimum requirements
- Max Slippage: Order will be rejected if
limit_priceexceeds the maximum allowed slippage from fair value
Authentication Options:
- Signature: Include
signatureandsignature_deadlinefields in the request - One-click session: Include
x-one-clickheader with session hash (no signature needed)
When using one-click sessions, the signature fields can be omitted from the request.
