forked from gateio/gateapi-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodel_futures_price_triggered_order.go
More file actions
32 lines (30 loc) · 1.04 KB
/
model_futures_price_triggered_order.go
File metadata and controls
32 lines (30 loc) · 1.04 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
29
30
31
32
/*
* Gate API v4
*
* 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
// Futures order details
type FuturesPriceTriggeredOrder struct {
Initial FuturesInitialOrder `json:"initial"`
Trigger FuturesPriceTrigger `json:"trigger"`
// Auto order ID
Id int64 `json:"id,omitempty"`
// User ID
User int32 `json:"user,omitempty"`
// Creation time
CreateTime float32 `json:"create_time,omitempty"`
// Finished time
FinishTime float32 `json:"finish_time,omitempty"`
// ID of the newly created order on condition triggered
TradeId int64 `json:"trade_id,omitempty"`
// Order status.
Status string `json:"status,omitempty"`
// How order is finished
FinishAs string `json:"finish_as,omitempty"`
// Extra messages of how order is finished
Reason string `json:"reason,omitempty"`
}