Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Config = config.Config
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account interface{}
Account implements trading account functionality. It may represent a single account, several accounts, a 'paper' trading account, or any combination.
This allows for simple replacement of accounts for testing, scaling of bot activity, accessing accounts with different currencies, etc.
type Bot ¶
type Bot interface{}
Bot implements the bot. It can take input as rules and conditions. It can be scheduled, managed, and switched on or off.
type BotConfig ¶
type BotConfig interface{}
BotConfig implements bot configuration functionality, such as settings, limits, and other settings.
Authentication, Permissions, and Account information are not included or accessible from BotConfig.
type Graph ¶
type Graph struct {
// contains filtered or unexported fields
}
Graph is the graph of rules allowing users to define how rules interact with each other, which has precedence, and which have overriding capabilities.
type Permissions ¶
type Permissions interface{}
Permissions maintains a mapping of allowed scopes for the current user.