Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrEmptyAccounts = errors.New("empty accounts") ErrInvalidExchange = errors.New("invalid exchange") )
Functions ¶
This section is empty.
Types ¶
type ForwardTest ¶
type ForwardTest struct {
ID uuid.UUID
UpdatedAt time.Time
Accounts map[string]account.Account
Orders []order.Order
}
func New ¶
func New(payload NewPayload) ForwardTest
func (*ForwardTest) AddOrder ¶
func (ft *ForwardTest) AddOrder(o order.Order, cs candlestick.Candlestick) error
func (ForwardTest) GetAccountsSymbols ¶
func (ft ForwardTest) GetAccountsSymbols() []string
type NewPayload ¶
func (NewPayload) Validate ¶
func (np NewPayload) Validate() error
Click to show internal directories.
Click to hide internal directories.