-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathmodel_cross_margin_currency.go
33 lines (31 loc) · 1.3 KB
/
model_cross_margin_currency.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
/*
* 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 CrossMarginCurrency struct {
// Currency name
Name string `json:"name,omitempty"`
// Minimum lending rate (hourly rate)
Rate string `json:"rate,omitempty"`
// Currency precision
Prec string `json:"prec,omitempty"`
// Currency value discount, which is used in total value calculation
Discount string `json:"discount,omitempty"`
// Minimum currency borrow amount. Unit is currency itself
MinBorrowAmount string `json:"min_borrow_amount,omitempty"`
// Maximum borrow value allowed per user, in USDT
UserMaxBorrowAmount string `json:"user_max_borrow_amount,omitempty"`
// Maximum borrow value allowed for this currency, in USDT
TotalMaxBorrowAmount string `json:"total_max_borrow_amount,omitempty"`
// Price change between this currency and USDT
Price string `json:"price,omitempty"`
// Whether currency is borrowed
Loanable bool `json:"loanable,omitempty"`
// status - `0` : disable - `1` : enable
Status int32 `json:"status,omitempty"`
}