symbol

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseAsset

type BaseAsset string

type OrderType

type OrderType string

type QuoteAsset

type QuoteAsset string

type Symbol

type Symbol struct {
	Symbol string
	// contains filtered or unexported fields
}

Дані про обмеження на пару

func New

func New(
	symbol string,
	notional items_types.ValueType,
	stepSize items_types.QuantityType,
	maxQty items_types.QuantityType,
	minQty items_types.QuantityType,
	tickSize items_types.PriceType,
	maxPrice items_types.PriceType,
	minPrice items_types.PriceType,
	quoteAsset QuoteAsset,
	baseAsset BaseAsset,
	isMarginTradingAllowed bool,
	permissions []string,
	orderType []OrderType) *Symbol

func (*Symbol) Equal

func (si *Symbol) Equal(than btree.Item) bool

func (*Symbol) GetBaseSymbol

func (si *Symbol) GetBaseSymbol() QuoteAsset

func (*Symbol) GetMaxPrice

func (si *Symbol) GetMaxPrice() items_types.PriceType

func (*Symbol) GetMaxQty

func (si *Symbol) GetMaxQty() items_types.QuantityType

func (*Symbol) GetMinPrice

func (si *Symbol) GetMinPrice() items_types.PriceType

func (*Symbol) GetMinQty

func (si *Symbol) GetMinQty() items_types.QuantityType

func (*Symbol) GetNotional

func (si *Symbol) GetNotional() items_types.ValueType

func (*Symbol) GetOrderType

func (si *Symbol) GetOrderType() []OrderType

func (*Symbol) GetPermissions

func (si *Symbol) GetPermissions() []string

func (*Symbol) GetStepSize

func (si *Symbol) GetStepSize() items_types.QuantityType

func (*Symbol) GetSymbol

func (si *Symbol) GetSymbol() string

func (*Symbol) GetTargetSymbol

func (si *Symbol) GetTargetSymbol() BaseAsset

func (*Symbol) GetTickSize

func (si *Symbol) GetTickSize() items_types.PriceType

func (*Symbol) IsMarginTradingAllowed

func (si *Symbol) IsMarginTradingAllowed() bool

func (*Symbol) Less

func (si *Symbol) Less(than btree.Item) bool

Jump to

Keyboard shortcuts

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