-
Notifications
You must be signed in to change notification settings - Fork 39
/
model_contract_stat.go
39 lines (37 loc) · 1.51 KB
/
model_contract_stat.go
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
/*
* Gate API v4
*
* Welcome to Gate.io API 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: [email protected]
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package gateapi
type ContractStat struct {
// Stat timestamp
Time int64 `json:"time,omitempty"`
// Long/short account number ratio
LsrTaker float32 `json:"lsr_taker,omitempty"`
// Long/short taker size ratio
LsrAccount float32 `json:"lsr_account,omitempty"`
// Long liquidation size
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
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"`
// Open interest size
OpenInterest int64 `json:"open_interest,omitempty"`
// 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"`
}