コード例 #1
0
        public OutputRecord Convert(string trader, string symbol, int quantity)
        {
            var netPosition = new Interface.Entity.OutputRecord
            {
                Trader   = trader,
                Symbol   = symbol,
                Quantity = quantity
            };

            return(netPosition);
        }
コード例 #2
0
 private string Key(Interface.Entity.OutputRecord convertedRecord)
 {
     return($"{convertedRecord.Trader}|{convertedRecord.Symbol}");
 }