US tax rules (and possibly other jurisdictions) allow users to use specific identification instead of FIFO, if they can show how the calculations are done. Specific identification means the user can arbitrarily pick and choose which coins is being disposed of for accounting purposes for each disposal.
More information: