types

package
v0.0.0-...-97d3e4a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetAccountInfoData

type GetAccountInfoData struct {
	ApplicationID          string  `json:"applicationId"`
	Account                string  `json:"account"`
	Alias                  string  `json:"alias"`
	AccountMode            string  `json:"accountMode"`
	Leverage               int     `json:"leverage"`
	TakerFeeRate           float64 `json:"takerFeeRate"`
	MakerFeeRate           float64 `json:"makerFeeRate"`
	InterestRate           float64 `json:"interestRate"`
	FuturesTakerFeeRate    float64 `json:"futuresTakerFeeRate"`
	FuturesMakerFeeRate    float64 `json:"futuresMakerFeeRate"`
	Otpauth                bool    `json:"otpauth"`
	MarginRatio            float64 `json:"marginRatio"`
	OpenMarginRatio        float64 `json:"openMarginRatio"`
	InitialMarginRatio     float64 `json:"initialMarginRatio"`
	MaintenanceMarginRatio float64 `json:"maintenanceMarginRatio"`
	TotalCollateral        float64 `json:"totalCollateral"`
	FreeCollateral         float64 `json:"freeCollateral"`
	TotalAccountValue      float64 `json:"totalAccountValue"`
	TotalVaultValue        float64 `json:"totalVaultValue"`
	TotalStakingValue      float64 `json:"totalStakingValue"`
	ReferrerID             string  `json:"referrerID"`
	AccountType            string  `json:"accountType"`
}

type GetAccountInfoResult

type GetAccountInfoResult struct {
	Success   bool               `json:"success"`
	Data      GetAccountInfoData `json:"data"`
	Timestamp int64              `json:"timestamp"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL