-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathmodel_batch_amend_item.go
More file actions
28 lines (26 loc) · 1.42 KB
/
model_batch_amend_item.go
File metadata and controls
28 lines (26 loc) · 1.42 KB
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 information that needs to be modified
type BatchAmendItem struct {
// The order ID returned upon successful creation or the custom ID specified by the user during creation (i.e., the 'text' field)
OrderId string `json:"order_id"`
// Currency pair
CurrencyPair string `json:"currency_pair"`
// Default spot, unified account and warehouse-by-store leverage account
Account string `json:"account,omitempty"`
// Trading Quantity. Only one of `amount` or `price` can be specified
Amount string `json:"amount,omitempty"`
// Trading Price. Only one of `amount` or `price` can be specified
Price string `json:"price,omitempty"`
// Custom info during order amendment
AmendText string `json:"amend_text,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"`
}