Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// General configuration
PreviewOrder bool `yaml:"preview_order"`
// Account configuration
Brokerage string `yaml:"brokerage"`
Tradier *TradierConfig `yaml:"tradier,omitempty"`
}
Config holds the merged configuration from the config file, environment variables, and flags
func (*Config) CheckConfig ¶
CheckConfig checks for the validity of the cofiguration
type TradierConfig ¶
type TradierConfig struct {
AccountID string `yaml:"account,omitempty"`
AccessToken string `yaml:"access_token,omitempty"`
}
TradierConfig holds the configuration for Tradier brokerage
Click to show internal directories.
Click to hide internal directories.