Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidBalanceAmount is the error for an invalid balance amount. ErrInvalidBalanceAmount = errors.New("invalid balance amount") // ErrInvalidBalanceAsset is the error for an invalid balance asset. ErrInvalidBalanceAsset = errors.New("invalid balance asset") // ErrNotEnoughAsset is the error for not enough asset. ErrNotEnoughAsset = errors.New("not enough asset") )
Functions ¶
This section is empty.
Types ¶
type Account ¶
Account is the struct for an account.
func (*Account) ApplyOrder ¶
ApplyOrder will apply an order to the account.
Click to show internal directories.
Click to hide internal directories.