-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathmodel_dual_get_orders.go
More file actions
47 lines (45 loc) · 1.7 KB
/
model_dual_get_orders.go
File metadata and controls
47 lines (45 loc) · 1.7 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*
* 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
type DualGetOrders struct {
// Order ID
Id int32 `json:"id,omitempty"`
// Product ID
PlanId int32 `json:"plan_id,omitempty"`
// Units
Copies string `json:"copies,omitempty"`
// Investment Quantity
InvestAmount string `json:"invest_amount,omitempty"`
// Settlement Quantity
SettlementAmount string `json:"settlement_amount,omitempty"`
// Created time
CreateTime int32 `json:"create_time,omitempty"`
// Completed Time
CompleteTime int32 `json:"complete_time,omitempty"`
// Status: `INIT`-Created `SETTLEMENT_SUCCESS`-Settlement Success `SETTLEMENT_PROCESSING`-Settlement Processing `CANCELED`-Canceled `FAILED`-Failed
Status string `json:"status,omitempty"`
// Investment Token
InvestCurrency string `json:"invest_currency,omitempty"`
// Strike Token
ExerciseCurrency string `json:"exercise_currency,omitempty"`
// Strike price
ExercisePrice string `json:"exercise_price,omitempty"`
// Settlement price
SettlementPrice string `json:"settlement_price,omitempty"`
// Settlement currency
SettlementCurrency string `json:"settlement_currency,omitempty"`
// Annual Yield
ApyDisplay string `json:"apy_display,omitempty"`
// Settlement Annual Yield
ApySettlement string `json:"apy_settlement,omitempty"`
// Settlement time
DeliveryTime int32 `json:"delivery_time,omitempty"`
// Custom order information
Text string `json:"text,omitempty"`
}