public FdkConnectLogic(string address, string username, string password) { Address = address; Username = username; Password = password; // create and initialize fix connection string builder Builder = new FixConnectionStringBuilder { TargetCompId = "EXECUTOR", ProtocolVersion = FixProtocolVersion.TheLatestVersion.ToString(), SecureConnection = false, Port = 5001, DecodeLogFixMessages = true, Address = address, Username = username, Password = password, FixEventsFileName = string.Format("{0}.trade.events.log", username), FixMessagesFileName = string.Format("{0}.trade.messages.log", username), }; TradeWrapper = new FdkTradeWrapper(); //this.Builder.ExcludeMessagesFromLogs = "W"; }
private void SetupTradeConnection(string logPath) { TradeWrapper = new FdkTradeWrapper(); TradeWrapper.Connect(Address, Username, Password, logPath); }