Documentation ¶
Index ¶
- type BaseAsset
- type OrderType
- type QuoteAsset
- type Symbol
- func (si *Symbol) Equal(than btree.Item) bool
- func (si *Symbol) GetBaseSymbol() QuoteAsset
- func (si *Symbol) GetMaxPrice() items_types.PriceType
- func (si *Symbol) GetMaxQty() items_types.QuantityType
- func (si *Symbol) GetMinPrice() items_types.PriceType
- func (si *Symbol) GetMinQty() items_types.QuantityType
- func (si *Symbol) GetNotional() items_types.ValueType
- func (si *Symbol) GetOrderType() []OrderType
- func (si *Symbol) GetPermissions() []string
- func (si *Symbol) GetStepSize() items_types.QuantityType
- func (si *Symbol) GetSymbol() string
- func (si *Symbol) GetTargetSymbol() BaseAsset
- func (si *Symbol) GetTickSize() items_types.PriceType
- func (si *Symbol) IsMarginTradingAllowed() bool
- func (si *Symbol) Less(than btree.Item) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) 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 (*Symbol) GetPermissions ¶
func (*Symbol) GetStepSize ¶
func (si *Symbol) GetStepSize() items_types.QuantityType
func (*Symbol) GetTargetSymbol ¶
func (*Symbol) GetTickSize ¶
func (si *Symbol) GetTickSize() items_types.PriceType
func (*Symbol) IsMarginTradingAllowed ¶
Click to show internal directories.
Click to hide internal directories.