The system will match based on the principle of price first and time first. “Buy long” and “buy flat” are the buying directions, while “sell short” and “sell flat” are the selling directions. The buying direction has the highest price, with the earliest being the first in the buying sequence, the lowest in the selling direction, and the earliest being the first in the selling sequence. When the first price in the buying sequence is greater than or equal to the first price in the selling sequence, the transaction can be matched.