pairs

package
v0.0.0-...-dc0a48c Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	Code  uint32 `json:"code"`
	Pairs []Pair `json:"pairs"`
}

type Pair

type Pair struct {
	Name                string  `json:"name"`
	BaseAsset           string  `json:"base_asset"`
	QuoteAsset          string  `json:"quote_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         float64 `json:"price_digits"`
	AmountDigits        float64 `json:"amount_digits"`
	IsEnabled           bool    `json:"is_enabled"`
	StopOrder           bool    `json:"stop_order"`
	StopOrderAndCancel  bool    `json:"stop_order_and_cancel"`
	StopMarketOrder     bool    `json:"stop_market_order"`
	StopStopOrder       bool    `json:"stop_stop_order"`
	StopStopLimitOrder  bool    `json:"stop_stop_limit_order"`
	StopBuyOrder        bool    `json:"stop_buy_order"`
	StopSellOrder       bool    `json:"stop_sell_order"`
}

type Request

type Request struct {
}

func (*Request) Endpoint

func (req *Request) Endpoint() string

func (*Request) IsAuth

func (req *Request) IsAuth() bool

func (*Request) Method

func (req *Request) Method() string

func (*Request) Path

func (req *Request) Path() string

func (*Request) Payload

func (req *Request) Payload() []byte

func (*Request) Query

func (req *Request) Query() string

type Response

type Response struct {
	Success int  `json:"success"`
	Data    Data `json:"data"`
}

Jump to

Keyboard shortcuts

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