public OutputRecord Convert(string trader, string symbol, int quantity) { var netPosition = new Interface.Entity.OutputRecord { Trader = trader, Symbol = symbol, Quantity = quantity }; return(netPosition); }
private string Key(Interface.Entity.OutputRecord convertedRecord) { return($"{convertedRecord.Trader}|{convertedRecord.Symbol}"); }