Smart Margin

Trade any market with a single account using cross margin
Kwenta has recently unveiled its proprietary margin engine, Smart Margin v2 (SMv2), to the public. This innovative system offers a comprehensive suite of trading tools for Synthetix perps, surpassing any other platform's capabilities. SMv2 is designed to optimize traders' transactional abilities and accommodate strategies not supported elsewhere, reference KIP-55 (Kwenta Improvement Proposal) for more details.
The core concept of SMv2 is the "Command" structure, which replaces the previous beta margin engine's complex logic. The previous system's approach, while functional, restricted the trader's imagination and forced much of the directional reasoning on-chain, resulting in fragile code. In contrast, SMv2 decomposes multi-leg actions into individual "Commands," each responsible for a specific function.