Ejemplo n.º 1
0
        // Cancel Orders Button
        private async void Button_Click_1(object sender, RoutedEventArgs e)
        {
            Authenticate authenticate = new Authenticate();
            OrderClient  orderClient  = authenticate.MakeOrderClient();

            try
            {
                await orderClient.CancelOpenOrdersAsync("ETH-USD");
            }
            catch (Exception exception)
            {
                Label.Content = exception.Message;
            }
        }