Documentation
¶
Index ¶
- type CrossMarginAccountsBalance
- type CrossMarginAccountsBalanceResponse
- type CrossMarginGeneraReplaylLoan
- type CrossMarginGeneraReplaylLoanRecord
- type CrossMarginGeneralReplayLoanOptionalRequest
- type CrossMarginGeneralReplayLoanRecordsOptionalRequest
- type CrossMarginGeneralReplyLoanRecordsResponse
- type CrossMarginGeneralReplyLoanResponse
- type CrossMarginLoanInfo
- type CrossMarginLoanOrder
- type CrossMarginLoanOrdersOptionalRequest
- type CrossMarginLoanOrdersResponse
- type CrossMarginOrdersRequest
- type CrossMarginTransferRequest
- type GetCrossMarginLoanInfoResponse
- type GetIsolatedMarginLoanInfoResponse
- type GetMarginLoanInfoOptionalRequest
- type IsolatedMarginAccountsBalance
- type IsolatedMarginAccountsBalanceResponse
- type IsolatedMarginLoanInfo
- type IsolatedMarginLoanOrder
- type IsolatedMarginLoanOrdersOptionalRequest
- type IsolatedMarginLoanOrdersResponse
- type IsolatedMarginOrdersRequest
- type IsolatedMarginTransferRequest
- type MarginAccountsBalanceOptionalRequest
- type MarginOrdersRepayRequest
- type MarginOrdersRepayResponse
- type MarginOrdersResponse
- type Transact
- type TransferResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CrossMarginAccountsBalance ¶
type CrossMarginAccountsBalance struct {
Id int64 `json:"id"`
Type string `json:"type"`
State string `json:"state"`
AcctBalanceSum string `json:"acct-balance-sum"`
DebtBalanceSum string `json:"debt-balance-sum"`
RiskRate string `json:"risk-rate"`
List []struct {
Currency string `json:"currency"`
Type string `json:"type"`
Balance string `json:"balance"`
}
}
type CrossMarginAccountsBalanceResponse ¶
type CrossMarginAccountsBalanceResponse struct {
Status string `json:"status"`
Data *CrossMarginAccountsBalance `json:"data"`
}
type CrossMarginGeneralReplayLoanRecordsOptionalRequest ¶
type CrossMarginGeneralReplayLoanRecordsOptionalRequest struct {
RepayId string `json:"repayId"`
AccountId string `json:"accountId"`
Currency string `json:"currency"`
StartDate int64 `json:"startDate"`
EndDate int64 `json:"endDate"`
Sort string `json:"sort"`
Limit int `json:"limit"`
FromId int64 `json:"fromId"`
}
type CrossMarginGeneralReplyLoanRecordsResponse ¶
type CrossMarginGeneralReplyLoanRecordsResponse struct {
Code int `json:"code"`
Data []CrossMarginGeneraReplaylLoanRecord `json:"data"`
}
type CrossMarginGeneralReplyLoanResponse ¶
type CrossMarginGeneralReplyLoanResponse struct {
Code int `json:"code"`
Data []CrossMarginGeneraReplaylLoan `json:"data"`
}
type CrossMarginLoanInfo ¶
type CrossMarginLoanOrder ¶
type CrossMarginLoanOrder struct {
Id int64 `json:"id"`
UserId int64 `json:"user-id"`
AccountId int64 `json:"account-id"`
Currency string `json:"currency"`
LoanAmount string `json:"loan-amount"`
LoanBalance string `json:"loan-balance"`
InterestAmount string `json:"interest-amount"`
InterestBalance string `json:"interest-balance"`
CreatedAt int64 `json:"created-at"`
AccruedAt int64 `json:"accrued-at"`
State string `json:"state"`
FilledPoints string `json:"filled-points"`
FilledHt string `json:"filled-ht"`
}
type CrossMarginLoanOrdersResponse ¶
type CrossMarginLoanOrdersResponse struct {
Status string `json:"status"`
Data []CrossMarginLoanOrder `json:"data"`
}
type GetCrossMarginLoanInfoResponse ¶
type GetCrossMarginLoanInfoResponse struct {
Status string `json:"status"`
Data []CrossMarginLoanInfo `json:"data"`
}
type GetIsolatedMarginLoanInfoResponse ¶
type GetIsolatedMarginLoanInfoResponse struct {
Status string `json:"status"`
Data []IsolatedMarginLoanInfo `json:"data"`
}
type GetMarginLoanInfoOptionalRequest ¶
type GetMarginLoanInfoOptionalRequest struct {
Symbols string
}
type IsolatedMarginAccountsBalance ¶
type IsolatedMarginAccountsBalance struct {
Id int64 `json:"id"`
Type string `json:"type"`
State string `json:"state"`
Symbol string `json:"symbol"`
FlPrice string `json:"fl-price"`
FlType string `json:"fl-type"`
RiskRate string `json:"risk-rate"`
List []struct {
Currency string `json:"currency"`
Type string `json:"type"`
Balance string `json:"balance"`
}
}
type IsolatedMarginAccountsBalanceResponse ¶
type IsolatedMarginAccountsBalanceResponse struct {
Status string `json:"status"`
Data []IsolatedMarginAccountsBalance `json:"data"`
}
type IsolatedMarginLoanInfo ¶
type IsolatedMarginLoanInfo struct {
Symbol string `json:"symbol"`
Currencies []struct {
Currency string `json:"currency"`
InterestRate string `json:"interest-rate"`
MinLoanAmt string `json:"min-loan-amt"`
MaxLoanAmt string `json:"max-loan-amt"`
LoanableAmt string `json:"loanable-amt"`
ActualRate string `json:"actual-rate"`
}
}
type IsolatedMarginLoanOrder ¶
type IsolatedMarginLoanOrder struct {
Id int64 `json:"id"`
UserId int64 `json:"user-id"`
AccountId int64 `json:"account-id"`
Symbol string `json:"symbol"`
Currency string `json:"currency"`
LoanAmount string `json:"loan-amount"`
LoanBalance string `json:"loan-balance"`
InterestRate string `json:"interest-rate"`
InterestAmount string `json:"interest-amount"`
InterestBalance string `json:"interest-balance"`
CreatedAt int64 `json:"created-at"`
AccruedAt int64 `json:"accrued-at"`
State string `json:"state"`
}
type IsolatedMarginLoanOrdersResponse ¶
type IsolatedMarginLoanOrdersResponse struct {
Status string `json:"status"`
Data []IsolatedMarginLoanOrder `json:"data"`
}
type MarginOrdersRepayRequest ¶
type MarginOrdersRepayRequest struct {
Amount string `json:"amount"`
}
type MarginOrdersResponse ¶
type TransferResponse ¶
Source Files
¶
- crossmarginaccountsbalanceresponse.go
- crossmargingeneralreplayloanoptionalrequest.go
- crossmargingeneralreplayloanrecordsoptionalrequest.go
- crossmargingeneralreplayloanrecordsresponse.go
- crossmargingeneralreplayloanresponse.go
- crossmarginloanordersoptionalrequest.go
- crossmarginloanordersresponse.go
- crossmarginordersrequest.go
- crossmargintransferrequest.go
- getcrossmarginloaninforesponse.go
- getisolatedmarginloaninforesponse.go
- getmarginloaninfooptionalrequest.go
- isolatedmarginaccountsbalanceresponse.go
- isolatedmarginloanordersoptionalrequest.go
- isolatedmarginloanordersresponse.go
- isolatedmarginordersrequest.go
- isolatedmargintransferrequest.go
- marginaccountsbalanceoptionalrequest.go
- marginordersrepayrequest.go
- marginordersrepayresponse.go
- marginordersresponse.go
- transferresponse.go
Click to show internal directories.
Click to hide internal directories.