-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathmodel_delivery_ticker.go
More file actions
59 lines (57 loc) · 2.57 KB
/
model_delivery_ticker.go
File metadata and controls
59 lines (57 loc) · 2.57 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
48
49
50
51
52
53
54
55
56
57
58
59
/*
* 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 DeliveryTicker struct {
// Futures contract
Contract string `json:"contract,omitempty"`
// Last trading price
Last string `json:"last,omitempty"`
// Price change percentage. Negative values indicate price decrease, e.g. -7.45
ChangePercentage string `json:"change_percentage,omitempty"`
// Contract total size
TotalSize string `json:"total_size,omitempty"`
// 24-hour lowest price
Low24h string `json:"low_24h,omitempty"`
// 24-hour highest price
High24h string `json:"high_24h,omitempty"`
// 24-hour trading volume
Volume24h string `json:"volume_24h,omitempty"`
// 24-hour trading volume in BTC (deprecated, use `volume_24h_base`, `volume_24h_quote`, `volume_24h_settle` instead)
Volume24hBtc string `json:"volume_24h_btc,omitempty"`
// 24-hour trading volume in USD (deprecated, use `volume_24h_base`, `volume_24h_quote`, `volume_24h_settle` instead)
Volume24hUsd string `json:"volume_24h_usd,omitempty"`
// 24-hour trading volume in base currency
Volume24hBase string `json:"volume_24h_base,omitempty"`
// 24-hour trading volume in quote currency
Volume24hQuote string `json:"volume_24h_quote,omitempty"`
// 24-hour trading volume in settle currency
Volume24hSettle string `json:"volume_24h_settle,omitempty"`
// Recent mark price
MarkPrice string `json:"mark_price,omitempty"`
// Funding rate
FundingRate string `json:"funding_rate,omitempty"`
// Indicative Funding rate in next period. (deprecated. use `funding_rate`)
FundingRateIndicative string `json:"funding_rate_indicative,omitempty"`
// Index price
IndexPrice string `json:"index_price,omitempty"`
// Exchange rate of base currency and settlement currency in Quanto contract. Does not exists in contracts of other types
QuantoBaseRate string `json:"quanto_base_rate,omitempty"`
// Basis rate
BasisRate string `json:"basis_rate,omitempty"`
// Basis value
BasisValue string `json:"basis_value,omitempty"`
// Recent lowest ask
LowestAsk string `json:"lowest_ask,omitempty"`
// The latest seller's lowest price order quantity
LowestSize string `json:"lowest_size,omitempty"`
// Recent highest bid
HighestBid string `json:"highest_bid,omitempty"`
// The latest buyer's highest price order volume
HighestSize string `json:"highest_size,omitempty"`
}