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); }
private static string GetMixedKey(MarketDetailDaily m, TraderDailyDetail t) { return(string.Format("{0}_{1}_{2}", m.TradeDate, t.Trader, m.Sym_Format)); }