FIFO Trading Model for PnL Calculation
- Program analyzes trades, outputs paired trades and calculates PnL
- Input size is 1M trades
- FIFO (generally used for queues) is a requirement in trading platforms where the first open trade must be closed when there are several open trades of the same pair and equal value.