: [InstrumentQuantity] -> [InstrumentQuantity] -> [Pending]
Merge consumed and produced instruments into a list of pending settlements. This will only reproduce instrument and quantity, not tag or time.
: [Pending] -> ([InstrumentQuantity], [InstrumentQuantity])
Map pending settlements into corresponding instrument quantities and split them into consumed and produced. Pending items with an amount of