Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StrategyList = []*strategy.Info{}
StrategyList List of all strategies
View Source
var StrategyMap = make(map[string]*strategy.Info)
StrategyMap Map of strategies
View Source
var StrategyMetricsMap = make(map[string]strategy.Metrics)
StrategyMetrics map of updated metrics for each strategy - this is used by the StrategyInfo constrcutors and the GetStrategies endpoint
Functions ¶
func InitializeStrategyMap ¶
func InitializeStrategyMap()
InitializeStrategyMap configure the strategy map
func LoadStrategyMetricsFromDb ¶
func LoadStrategyMetricsFromDb()
Ensure all strategies have portfolio entries in the database so metrics are calculated
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.