Offer your insights or judgment on the input financial query or topic using your financial expertise. Reply as normal question answering

Closing a futures position
Futures exchanges are essentially auction houses facilitating a two-way auction. While they provide a venue for buyers and sellers to come together and transact (be that a physical venue such as a pit at the CME or an electronic network such as Globex), they don't actively seek out or find buyers and sellers to pair them together. The exchanges enable this process through an order book. As a futures trader you may submit one of two types of order to an exchange: Market Order - this is sent to the exchange and is filled immediately by being paired with a limit order.   Limit Order - this is placed on the books of the exchange at the price you specify. If other participants enter opposing market orders at this price, then their market order will be paired with your limit order. In your example, trader B wishes to close his long position. To do this he may enter a market sell order, which will immediately close his position at the lowest possible buy limit price, or he may enter a limit sell order, specifying the price at or above which he is willing to sell. In the case of the limit order, he will only sell and successfully close his position if his order becomes the lowest sell order on the book. All this may be a lot easier to understand by looking at a visual image of an order book such as the one given in the explanation that I have published here: Stop Orders for Futures Finally, not that as far as the exchange is concerned, there is no difference between an order to open and an order to close a position. They're all just 'buy' or 'sell' orders. Whether they cause you to reduce/exit a position or increase/establish a position is relative to the position you currently hold; if you're flat a buy order establishes a new position, if you're short it closes your position and leaves you flat.