MYX Finance is a decentralized derivatives trading protocol that enables users to trade financial instruments such as perpetual contracts on blockchain networks. Through on-chain fund management, smart contract settlement, and a matching pool trading structure, the protocol replaces traditional centralized exchange infrastructure with programmatic logic. As a result, derivatives trading can occur without relying on centralized intermediaries.
As decentralized finance continues to evolve, on-chain trading demand has expanded beyond basic spot transactions into more complex financial instruments. These include perpetual contracts, leveraged trading, and other derivatives. In traditional financial markets, centralized exchanges typically manage order matching, risk control, and settlement. In DeFi environments, however, these responsibilities must be handled through smart contracts and blockchain-based mechanisms.
Within this context, MYX Finance has designed a specialized trading architecture that allows trade execution, position management, risk monitoring, and fund settlement to occur directly on-chain. Through a multi-layer system structure, the protocol enables users to open positions, manage margin, and execute derivatives trades in a decentralized environment.
MYX Finance’s trading system is built around the MPM (Matching Pool Mechanism). This mechanism combines elements of an order system with liquidity pool structures, allowing trade matching, position creation, and settlement to occur within a unified framework.
When a user submits a trading order, the system processes it through the matching pool. The pool coordinates trading demand with available market liquidity so traders can open or close positions efficiently. Unlike traditional order book models, the matching pool mechanism typically relies on liquidity pools or other funding sources to support trade execution.
The primary objectives of the MPM mechanism include:
Improving on-chain trade execution efficiency
Optimizing liquidity utilization
Simplifying the derivatives settlement process
The entire trading system typically consists of multiple modules:
| System Module | Function |
|---|---|
| Order Management System | Receives and processes user trading requests |
| Matching Pool | Coordinates orders and liquidity |
| Margin Management Module | Manages user margin and position risk |
| Settlement System | Calculates trading profit and loss and executes fund settlement |
| Risk Control System | Monitors position risk and triggers liquidation |
Through the coordinated operation of these modules, MYX Finance is able to build a complete derivatives trading infrastructure within a blockchain environment.
On MYX Finance, a derivatives trade follows a complete lifecycle. From the moment a user enters the trading system and opens a position to the eventual closing or liquidation of that position, the entire process is managed jointly by smart contracts and the trading system.
Each stage of the lifecycle involves margin management, position calculations, and on-chain settlement logic.
In decentralized derivatives trading environments, the lifecycle extends beyond simple order submission and execution. It also includes margin management, price updates, position risk monitoring, and settlement operations. MYX Finance integrates its trading system with risk control modules so that these processes can be executed automatically on-chain.
The table below shows the typical stages users experience when trading derivatives on MYX Finance:
| Trading Stage | User Action | Protocol System Process | On-Chain Record |
|---|---|---|---|
| Deposit Funds | The user deposits trading assets into the protocol as margin | The system confirms the deposit and updates the account balance | Deposit transaction record |
| Open Position | The user selects the trading asset, leverage level, and position direction | The order enters the matching pool and a position is created | Position creation record |
| Position Active | The user holds the position and profit or loss changes with market price movements | The system continuously updates position value and margin ratio | Position status updates |
| Adjust Position | The user may add margin, reduce the position size, or adjust leverage | The system recalculates risk metrics | Position modification record |
| Manual Close | The user chooses to close the position and settle profit or loss | The system executes position closure and calculates final settlement | Position closing transaction record |
| Forced Liquidation | Liquidation is triggered when the margin falls below the risk threshold | The system automatically closes the position to control risk | Liquidation event record |
| Fund Settlement | The user withdraws remaining assets or continues trading | The protocol updates the account balance | Withdrawal transaction record |
Through this lifecycle structure, MYX Finance can manage the full derivatives trading process without relying on centralized exchanges. Order execution, position management, and fund settlement are all handled through smart contracts, allowing trading logic to operate entirely on blockchain networks.
A complete lifecycle includes not only trade matching but also margin management and risk control mechanisms. By continuously monitoring position status and market price movements, the MYX Finance trading system can maintain operational stability across different market conditions.
In derivatives markets, risk control is a critical component of trading system design. Because derivatives trading often allows users to open leveraged positions, market price movements can significantly affect the margin ratio of those positions. If prices move in an unfavorable direction, a position can quickly approach risk thresholds. For this reason, trading protocols must implement liquidation mechanisms to prevent systemic risk.
MYX Finance continuously monitors user positions through its margin management system. When a user opens a position, the system calculates the required margin based on position size and leverage. During the life of the position, the protocol continuously evaluates the margin ratio.
If market volatility reduces the value of a position, the margin ratio changes accordingly.
When the margin ratio falls below the protocol’s predefined risk threshold, the system may trigger a liquidation process. The goal of liquidation is to close high-risk positions in time, preventing negative equity situations and limiting risk exposure to the broader trading system. Liquidations are typically executed automatically by the protocol’s risk control module, with smart contracts closing the position and completing settlement.
To further strengthen system stability, derivatives protocols often include additional risk buffers. For example, during extreme market volatility, the protocol may rely on a risk fund or other safety mechanisms to absorb part of the losses. These safeguards help maintain the overall stability of the trading system during significant market fluctuations.
A functioning derivatives market depends on a stable liquidity structure. When traders open or close positions, sufficient market depth is required. Without it, large trades may significantly impact prices. For this reason, liquidity management is a key component of decentralized derivatives protocols.
Within the MYX Finance trading system, liquidity typically comes from several sources, including liquidity pools, liquidity providers, and other market participants. Liquidity providers can deposit assets into the protocol, supplying capital that supports market activity. When traders open positions, these funds can be used to facilitate trade execution.
Liquidity providers are usually rewarded through protocol incentive mechanisms. These may include fee distribution or reward programs that allocate earnings to liquidity contributors. Such incentives encourage more capital to enter the system, increasing overall market depth.
A stable liquidity structure plays an important role in derivatives trading protocols. Adequate capital depth can reduce slippage and help traders open or close positions more efficiently. A strong liquidity environment also improves market stability and allows the trading system to accommodate transactions of different sizes.
As a decentralized trading protocol, MYX Finance relies on blockchain networks to record and verify trading activity. This on-chain recording mechanism ensures that transactions remain traceable and allows participants to observe the protocol’s operational state.
During the MYX Finance trading process, several key operations are recorded on the blockchain. For example, when users deposit margin into the protocol, the related transaction is written to the blockchain. When users open or adjust trading positions, the system records the relevant position data. Position closures, liquidation events, and settlement operations are also recorded on-chain.
Together, these records form a complete trading history, enabling users to verify whether trading activities were executed according to protocol rules. Because blockchain data is publicly verifiable, anyone can review these records, increasing transparency within the system.
On-chain recording is one of the defining characteristics of decentralized finance protocols. By storing transaction data on the blockchain, protocols can reduce reliance on centralized intermediaries and make trading processes more transparent. This approach also provides valuable data for analytics and market research.
As the DeFi derivatives market continues to evolve, trading protocol architectures are also being upgraded. In version V2, MYX Finance introduced a more modular system design aimed at improving trade execution and settlement efficiency.
The goal of a modular settlement engine is to divide the trading system into several independent components. These may include modules for trade execution, risk control, and fund management.
With modular architecture, the protocol can upgrade individual system components more flexibly while improving overall scalability.
Modular design also enhances maintainability, allowing developers to update specific components without disrupting the entire system.
As DeFi infrastructure continues to mature, modular trading architectures are increasingly becoming an important development direction for many on-chain trading platforms.
MYX Finance builds an on-chain derivatives trading system through its MPM matching pool mechanism, enabling users to trade perpetual contracts in a decentralized environment. The trading framework combines liquidity pool structures, margin management, and smart contract settlement logic to create a complete on-chain trading workflow.
Throughout the trading process, user orders, position management, and settlement operations are executed through smart contracts, while key events are recorded on the blockchain. Through integrated risk control mechanisms and liquidity management structures, MYX Finance aims to establish a stable derivatives trading market within a decentralized environment.
As the protocol evolves, upgrades such as the modular settlement architecture introduced in MYX V2 continue to improve the system’s scalability and maintainability.
What trading mechanism does MYX Finance use?
MYX Finance uses the MPM (Matching Pool Mechanism) to process on-chain derivatives trading orders.
Does MYX Finance support perpetual contract trading?
MYX Finance focuses on on-chain derivatives trading, which includes instruments such as perpetual contracts.
How does MYX Finance manage trading risk?
The protocol manages trading risk through margin ratio monitoring, automatic liquidation mechanisms, and dedicated risk control modules.
Are MYX Finance transactions recorded on-chain? Key trading events are typically recorded on blockchain networks to improve transparency and verifiability.





