public void GetCurrentPositionModeTest()
 {
     try
     {
         bool result = trade.GetCurrentPositionMode();
         Assert.IsTrue(true);
     }
     catch (ErrorMessageException e)
     {
         Tools.OnThrowErrorMessageException(e);
     }
 }
 public void GetCurrentPositionModeTest()
 {
     try
     {
         bool result = trade.GetCurrentPositionMode();
         Assert.IsTrue(true);
     }
     catch (ErrorMessageException e)
     {
         StringAssert.AreNotEqualIgnoringCase("", e.Message);   // Invalide api key (test api key on public api, not testnet).
     }
 }