How does the MarginX order book work?

MarginX operates via an on-chain order matching system, which keeps a record of all pending orders and cancellations permanently on the blockchain.

Traders on both the buy and sell sides submit their orders, and directly transfer their assets from their private wallets to our on-chain order matching system.

This on-chain order matching system is managed by our decentralized nodes and their validators.

Once there is a match, the transaction will be successfully carried out. If a match has not been found, the order will remain good ‘til canceled.

This way, the entire operation is completed entirely on-chain, and users can directly trade through their own wallets.

These traders can keep their private keys private, and the on-chain order matching system cannot arbitrarily manipulate the users’ assets, ensuring the security and transparency of assets and transactions.