setting

package
v0.0.0-...-e85216b Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetSettingResponse

type GetSettingResponse struct {
	Success int `json:"success"`
	Data    struct {
		Code  int `json:"code"`
		Pairs []struct {
			Name                string `json:"name"`
			BaseAsset           string `json:"base_asset"`
			MakerFeeRateBase    string `json:"maker_fee_rate_base"`
			TakerFeeRateBase    string `json:"taker_fee_rate_base"`
			MakerFeeRateQuote   string `json:"maker_fee_rate_quote"`
			TakerFeeRateQuote   string `json:"taker_fee_rate_quote"`
			UnitAmount          string `json:"unit_amount"`
			LimitMaxAmount      string `json:"limit_max_amount"`
			MarketMaxAmount     string `json:"market_max_amount"`
			MarketAllowanceRate string `json:"market_allowance_rate"`
			PriceDigits         int    `json:"price_digits"`
			AmountDigits        int    `json:"amount_digits"`
			IsEnabled           bool   `json:"is_enabled"`
			StopOrder           bool   `json:"stop_order"`
			StopOrderAndCancel  bool   `json:"stop_order_and_cancel"`
		} `json:"pairs"`
	} `json:"data"`
}

GetSettingResponse is a response for getting setting.

type Setting

type Setting struct {
	Client *client.Client
}

Setting is a setting.

func (*Setting) GetSetting

func (s *Setting) GetSetting() (*GetSettingResponse, error)

GetSetting gets setting.

Jump to

Keyboard shortcuts

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