Versions in this module Expand all Collapse all v1 v1.0.0 Feb 22, 2023 Changes in this version + var AlertLogger *log.Logger + var ErrorLogger *log.Logger + var Hook bool + var InfoLogger *log.Logger + var Multiplier int64 + var WarningLogger *log.Logger + func AddStock(s Stock) + func AddStocks(s []Stock) + func AlertHook(s Stock, t Trade, tp float64) + func DetectWhale(s Stock, t Trade) + func GetDailyTrades(s Stock) + func GetFirstNorth() + func Main() + func UpdateAverageAmounts(s Stock) + type Config struct + DbPassword string + DbSchema string + DbUser string + Hook bool + LogPath string + Multiplier int64 + func (c *Config) GetConfig(config string) *Config + type Stock struct + ID string + Name string + Ticker string + func GetStocks() []Stock + type Trade struct + Amount int64 + Buyer string + Price string + Seller string + Ticker string + Time string