-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathmodel_contract_stat.go
More file actions
41 lines (39 loc) · 1.63 KB
/
model_contract_stat.go
File metadata and controls
41 lines (39 loc) · 1.63 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
/*
* 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 ContractStat struct {
// Stat timestamp
Time int64 `json:"time,omitempty"`
// Long/short taker ratio
LsrTaker float32 `json:"lsr_taker,omitempty"`
// Long/short position user ratio
LsrAccount float32 `json:"lsr_account,omitempty"`
// Long liquidation size (contracts)
LongLiqSize int64 `json:"long_liq_size,omitempty"`
// Long liquidation amount (base currency)
LongLiqAmount float64 `json:"long_liq_amount,omitempty"`
// Long liquidation volume (quote currency)
LongLiqUsd float64 `json:"long_liq_usd,omitempty"`
// Short liquidation size (contracts)
ShortLiqSize int64 `json:"short_liq_size,omitempty"`
// Short liquidation amount (base currency)
ShortLiqAmount float64 `json:"short_liq_amount,omitempty"`
// Short liquidation volume (quote currency)
ShortLiqUsd float64 `json:"short_liq_usd,omitempty"`
// Total open interest size (contracts)
OpenInterest int64 `json:"open_interest,omitempty"`
// Total open interest volume (quote currency)
OpenInterestUsd float64 `json:"open_interest_usd,omitempty"`
// Top trader long/short account ratio
TopLsrAccount float64 `json:"top_lsr_account,omitempty"`
// Top trader long/short position ratio
TopLsrSize float64 `json:"top_lsr_size,omitempty"`
// Mark price
MarkPrice float64 `json:"mark_price,omitempty"`
}