How are TurkDEX orders matched up?
Orders cannot be matched at all unless they are covered by sufficient collateral. If an order is not covered by sufficient collateral at the time matching would take place, it will be cancelled. Orders that are covered by sufficient collateral will be matched up first of all on the basis of price. If two collateralized orders have the same price, the one that was placed earlier is the one that will be matched. Price priority rule In buy orders, the highest-priced order is effected first, then the one with the next lower price, and so on. In sell orders, the lowest price is effected first, then the one with the next higher price, and so on. Time priority rule If two orders have the same price, the one that was received first is the one that will be effected.