Lighter icon

Lighter

Interact with Lighter (zkLighter) DEX API - High-performance perpetuals trading

Trading → Create Stop Loss Order

AI-generated

Summary

Create a stop-loss order that triggers at a specific price on the Lighter trading backend.

Inputs

None.

Output shape

json

Backend order creation response

Examples

Example 1: Place a stop-loss sell order for 0.01 BTC that triggers at $25,000.

Market Index: 1 (BTC), Side: sell, Size: 0.01, Trigger Price: 25000, Execution Price: 0 (default to trigger), Reduce Only: true

Links

Discussion