forked from gateio/gateapi-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodel_cancel_order_result.go
More file actions
28 lines (26 loc) · 1004 Bytes
/
model_cancel_order_result.go
File metadata and controls
28 lines (26 loc) · 1004 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
* Gate API
*
* Welcome to Gate API APIv4 provides operations related to spot, margin, and contract trading, including public interfaces for querying market data and authenticated private interfaces for implementing API-based automated trading.
*
* Contact: support@mail.gate.com
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package gateapi
// Order cancellation result
type CancelOrderResult struct {
// Order currency pair
CurrencyPair string `json:"currency_pair,omitempty"`
// Order ID
Id string `json:"id,omitempty"`
// Custom order information
Text string `json:"text,omitempty"`
// Whether cancellation succeeded
Succeeded bool `json:"succeeded,omitempty"`
// Error label when failed to cancel the order; emtpy if succeeded
Label string `json:"label,omitempty"`
// Error description when cancellation fails, empty if successful
Message string `json:"message,omitempty"`
// Default is empty (deprecated)
Account string `json:"account,omitempty"`
}