bidcontext

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BidContext

type BidContext struct {
	Exchange      string
	MinOrderSize  float64
	CurrencyBase  config.Currency
	CurrencyQuote config.Currency

	Error string

	Event        config.Event
	TickerBid    float64
	TickerAsk    float64
	BalanceBase  float64
	BalanceQuote float64
	MinAmount    float64

	AskPrice float64
	BidPrice float64

	Strategy string

	OrderID string
}

BidContext ...

func NewBidContext

func NewBidContext() *BidContext

NewBidContext ...

func (*BidContext) HasError

func (m *BidContext) HasError() bool

HasError ...

func (*BidContext) SetError

func (m *BidContext) SetError(e error)

SetError ...

Jump to

Keyboard shortcuts

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