예제 #1
0
 private static bool Match(TraderDailyDetail t, MarketDetailDaily m)
 {
     if (IsSameStock(t.Sym, m.Symbol2) && IsSameDirection(t.Side, m.Action) && t.Qty == m.ExQuan && t.Exe_Price == m.ExPrice)
     {
         return(true);
     }
     return(false);
 }
예제 #2
0
 private static string GetMixedKey(MarketDetailDaily m, TraderDailyDetail t)
 {
     return(string.Format("{0}_{1}_{2}", m.TradeDate, t.Trader, m.Sym_Format));
 }