Actions46
- Account Actions
- Market Actions
- Order Actions
- Position Actions
- Trade Actions
- Trading Actions
- Transaction Actions
- System Actions
Trading → Create Market Order
AI-generatedSummary
Post a market order to the Lighter trading backend with specified market index, side, size, and optional slippage and reduce-only settings.
Inputs
- main (required) — The node processes one item and sends a single order request to the backend.
Output shape
json
Returns the trading backend's JSON response as a paired item containing the order result.
Examples
Example 1: Create a market buy order for ETH with 0.5 size and 0.5% slippage tolerance.
tradingMarketIndex: 0, tradingSide: 'buy', tradingSize: 0.5, tradingSlippage: 0.5, tradingReduceOnly: false