-
Notifications
You must be signed in to change notification settings - Fork 38
/
model_cancel_batch_order.go
22 lines (20 loc) · 1.22 KB
/
model_cancel_batch_order.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
* Gate API v4
*
* Welcome to Gate.io API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user's behalf.
*
* Contact: support@mail.gate.io
* 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 cancelled order is cross margin order or is portfolio margin account's API key, this field must be set and can only be `cross_margin`If cancelled order is cross margin order, this field must be set and can only be `cross_margin`
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"`
}