Exemple #1
0
 private bool PlaceBuyOrder(string PublicKey, decimal btc)
 {
     try
     {
         ATM.Order order = atmClient.CreateOrder(PublicKey, btc);
         return(true);
     }
     catch (Exception ex)
     {
         GeneralExceptions("PlaceBuyOrder", System.Diagnostics.TraceEventType.Critical, ex);
         ReturnToMainMenu();
     }
     return(false);
 }
Exemple #2
0
 private bool PlaceBuyOrder(string PublicKey, decimal btc)
 {
     try
     {
         ATM.Order order = atmClient.CreateOrder(PublicKey, btc);
         return(true);
     }
     catch (Exception ex)
     {
         GeneralExceptions("PlaceBuyOrder", "High", ex);
         ReturnToMainMenu();
     }
     return(false);
 }