-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathmodel_collateral_record.go
34 lines (32 loc) · 1.24 KB
/
model_collateral_record.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
/*
* 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
// Collateral record
type CollateralRecord struct {
// Order ID
OrderId int64 `json:"order_id,omitempty"`
// Collateral record ID
RecordId int64 `json:"record_id,omitempty"`
// Borrowed currency
BorrowCurrency string `json:"borrow_currency,omitempty"`
// Borrowing amount
BorrowAmount string `json:"borrow_amount,omitempty"`
// Collateral
CollateralCurrency string `json:"collateral_currency,omitempty"`
// The collateral amount before adjustment
BeforeCollateral string `json:"before_collateral,omitempty"`
// The collateral amount after adjustment
AfterCollateral string `json:"after_collateral,omitempty"`
// The collateral ratio before adjustment
BeforeLtv string `json:"before_ltv,omitempty"`
// The collateral ratio after adjustment
AfterLtv string `json:"after_ltv,omitempty"`
// Timestamp of the operation, in seconds
OperateTime int64 `json:"operate_time,omitempty"`
}