Order types
There are two ways to buy or sell perpetual swaps on the DerivaDEX exchange. DerivaDEX supports limit and market orders. Understanding these types of transactions will help you be a successful trader.
Last updated
Was this helpful?
There are two ways to buy or sell perpetual swaps on the DerivaDEX exchange. DerivaDEX supports limit and market orders. Understanding these types of transactions will help you be a successful trader.
Last updated
Was this helpful?
The matching engine will match this order against existing ask (sell) orders in the order book, starting with the most favorable ones (i.e., lowest-priced sell orders).
Any unmatched amount is cancelled.
The matching engine will match this order against existing bid (buy) orders in the order book, starting with the most favorable ones (i.e., highest-priced buy orders).
Any unmatched amount is cancelled.
The matching engine will match this order against any existing ask (sell) orders in the order book that are at any price less than or equal to the incoming limit order's price, starting with the most favorable ones (i.e., lowest-priced sell orders).
Any left-over amount that went unmatched will be posted to the order book as a bid at the price level specified in the limit order.
The matching engine will match this order against any existing bid (buy) orders in the order book that are at any price greater than or equal to the incoming limit order's price, starting with the most favorable ones (i.e., highest-priced buy orders).
Any left-over amount that went unmatched will be posted to the order book as an ask at the price level specified in the limit order.
Self Match Prevention
This safeguard makes it so you cannot trade with yourself. Limit and market orders will be filled as much as they can until they would otherwise inflict a self-match, at which point the remainder of the incoming order will be canceled. The existing order in the book will remain intact.