forked from gateio/gateapi-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodel_cancel_batch_order.go
More file actions
22 lines (20 loc) · 1.1 KB
/
model_cancel_batch_order.go
File metadata and controls
22 lines (20 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
* 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
// Info of order to be cancelled
type CancelBatchOrder struct {
// Order currency pair
CurrencyPair string `json:"currency_pair"`
// Order ID or user custom ID. Custom ID are accepted only within 30 minutes after order creation
Id string `json:"id"`
// If the canceled order is a unified account apikey, this field must be specified and set to `unified`
Account string `json:"account,omitempty"`
// Processing Mode: When placing an order, different fields are returned based on action_mode. This field is only valid during the request and is not included in the response result ACK: Asynchronous mode, only returns key order fields RESULT: No clearing information FULL: Full mode (default)
ActionMode string `json:"action_mode,omitempty"`
}