First In First Out - futures io
futures io

First In First Out

From a day to day trade management perspective, it means the contract (for a given instrument) you have owned for the longest is the one closed out first when you place an order in the opposite direction.

This is the default position of trading software and required by industry regulation.

Position 1: Bought GBP/USD 100,000 units at 1.6200 entered on June 1
Position 2: Bought GBP/USD 100,000 units at 1.6300 entered on June 2
Position 3: Bought GBP/USD 100,000 units at 1.6400 entered on June 3
Total Position: 300,000 units long in GBP/USD

Now letís say GBP/USD moved back to 1.6300 on June 4, and you wanted to close 100,000 units of your overall position, more specifically the second position opened at 1.6300. Your brokerís platform wonít allow you.

Under FIFO, the broker has to sell back the first 100,000 units that you purchased at 1.6200 because it was opened first. If you do decide to sell back 100,000 units, youíd end up with Positions 2 and 3 in your trading account.

Source for example only:
See also:

But FIFO (First In First Out) is also used by the exchanges (in some cases) to determine in what priority orders on the book are filled ie are orders placed first (the oldest) filled first, or are all orders on the book filled using a Pro-Rata algorithm.

See here:
This article explains the exchange operations well:
Further reading re the Exchange's use of FIFO:

Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada),
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.