-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathmodel_delivery_settlement.go
More file actions
31 lines (29 loc) · 965 Bytes
/
model_delivery_settlement.go
File metadata and controls
31 lines (29 loc) · 965 Bytes
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
/*
* 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 DeliverySettlement struct {
// Liquidation time
Time int64 `json:"time,omitempty"`
// Futures contract
Contract string `json:"contract,omitempty"`
// Position leverage
Leverage string `json:"leverage,omitempty"`
// Position size
Size int64 `json:"size,omitempty"`
// Position margin
Margin string `json:"margin,omitempty"`
// Average entry price
EntryPrice string `json:"entry_price,omitempty"`
// Settled price
SettlePrice string `json:"settle_price,omitempty"`
// Profit
Profit string `json:"profit,omitempty"`
// Fee deducted
Fee string `json:"fee,omitempty"`
}