Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AlertLogger *log.Logger
AlertLogger for harpun
View Source
var ErrorLogger *log.Logger
ErrorLogger for harpun
View Source
var Hook bool
Hook configuration to be used
View Source
var InfoLogger *log.Logger
InfoLogger for harpun
View Source
var Multiplier int64
Multiplier defining large trades
View Source
var WarningLogger *log.Logger
WarningLogger for harpun
Functions ¶
func GetDailyTrades ¶
func GetDailyTrades(s Stock)
GetDailyTrades for a ticker, current limit is 100 trades per fetch
Types ¶
type Config ¶
type Config struct { DbUser string `yaml:"user"` DbPassword string `yaml:"password"` DbSchema string `yaml:"schema"` Hook bool `yaml:"hook"` LogPath string `yaml:"log"` Multiplier int64 `yaml:"multiplier"` }
Config to use
Click to show internal directories.
Click to hide internal directories.