forked from gateio/gateapi-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodel_collateral_record.go
More file actions
34 lines (32 loc) · 1.24 KB
/
model_collateral_record.go
File metadata and controls
34 lines (32 loc) · 1.24 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
/*
* 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: [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"`
// Borrowed amount
BorrowAmount string `json:"borrow_amount,omitempty"`
// Collateral currency
CollateralCurrency string `json:"collateral_currency,omitempty"`
// Collateral amount before adjustment
BeforeCollateral string `json:"before_collateral,omitempty"`
// Collateral amount after adjustment
AfterCollateral string `json:"after_collateral,omitempty"`
// Collateral ratio before adjustment
BeforeLtv string `json:"before_ltv,omitempty"`
// Collateral ratio after adjustment
AfterLtv string `json:"after_ltv,omitempty"`
// Operation time, timestamp in seconds
OperateTime int64 `json:"operate_time,omitempty"`
}