Пример #1
0
        private void Button_Modify(object sender, RoutedEventArgs e)
        {
            if (this.login == null || this.orderId == null)
            {
                return;
            }

            string  payload  = Payload.ModifyOrder("LIMIT", 2, 520.0d, 0.0d);
            OrderId response = Kite.Put <OrderId>(apiKey, login.access_token, Url.PlaceOrder(orderId: this.orderId.order_id), payload: payload, logger: this);

            Log($"modify: {response?.order_id}");
        }