public static void ChangeAccount() { AccountCenter.Instance.IsTDLogin = false; if (instance != null) { instance.Release(); } instance = new TradeAdapter(); instance.RegisterFront("tcp://" + AccountCenter.Instance.Account.TDAddress); instance.Init(); }