First In, First Out (FIFO) is a rule that positions are closed in order. This means the oldest trade needs to close out before you can close out trades that you opened more recently.