-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathmodel_create_multi_collateral_order.go
More file actions
31 lines (29 loc) · 1.24 KB
/
model_create_multi_collateral_order.go
File metadata and controls
31 lines (29 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
/*
* 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 CreateMultiCollateralOrder struct {
// Order ID
OrderId string `json:"order_id,omitempty"`
// current - current rate, fixed - fixed rate, defaults to current if not specified
OrderType string `json:"order_type,omitempty"`
// Fixed interest rate lending period: 7d - 7 days, 30d - 30 days. Required for fixed rate
FixedType string `json:"fixed_type,omitempty"`
// Fixed interest rate, required for fixed rate
FixedRate string `json:"fixed_rate,omitempty"`
// Fixed interest rate, auto-renewal
AutoRenew bool `json:"auto_renew,omitempty"`
// Fixed interest rate, auto-repayment
AutoRepay bool `json:"auto_repay,omitempty"`
// Borrowed currency
BorrowCurrency string `json:"borrow_currency"`
// Borrowed amount
BorrowAmount string `json:"borrow_amount"`
// Collateral currency and amount
CollateralCurrencies []CollateralCurrency `json:"collateral_currencies,omitempty"`
}