void UserLogin()
        {
            CThostFtdcReqUserLoginField userLogin = new CThostFtdcReqUserLoginField();

              userLogin.BrokerID = this.BrokerID;
              userLogin.UserID = this.InvestorID;
              userLogin.Password = this.Password;

              int result = InvokeAPI(CTPRequestAction.MarketDataUserLoginAction, userLogin);
        }
        void UserLogin()
        {
            CThostFtdcReqUserLoginField userLogin = new CThostFtdcReqUserLoginField();

              userLogin.BrokerID = this.BrokerID;
              userLogin.UserID = this.InvestorID;
              userLogin.Password = this.Password;
              userLogin.UserProductInfo = this.UserProductInfo;

              int result = InvokeAPI(CTPRequestAction.TraderApiUserLoginAction, userLogin);
        }