forked from gateio/gateapi-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodel_futures_liquidate.go
More file actions
37 lines (35 loc) · 1.17 KB
/
model_futures_liquidate.go
File metadata and controls
37 lines (35 loc) · 1.17 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
/*
* 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
type FuturesLiquidate 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"`
// Liquidation price
LiqPrice string `json:"liq_price,omitempty"`
// Mark price
MarkPrice string `json:"mark_price,omitempty"`
// Liquidation order ID
OrderId int64 `json:"order_id,omitempty"`
// Liquidation order price
OrderPrice string `json:"order_price,omitempty"`
// Liquidation order average taker price
FillPrice string `json:"fill_price,omitempty"`
// Liquidation order maker size
Left int64 `json:"left,omitempty"`
}