Пример #1
0
 /// <summary>
 /// Log out QuantConnect API
 /// </summary>
 /// <param name="serviceProvider">Visual Studio service provider</param>
 public void Logout(IServiceProvider serviceProvider)
 {
     AuthorizationManager.GetInstance().Logout();
     VsUtils.DisplayInStatusBar(serviceProvider, "Logged out of QuantConnect");
 }
Пример #2
0
 /// <summary>
 /// Log out QuantConnect API
 /// </summary>
 /// <param name="serviceProvider">Visual Studio service provider</param>
 public void DoLogOut(IServiceProvider serviceProvider)
 {
     _credentialsManager.ForgetCredentials();
     AuthorizationManager.GetInstance().LogOut();
     VsUtils.DisplayInStatusBar(serviceProvider, "Logged out of QuantConnect");
 }