fix BOLL map allocation

This commit is contained in:
c9s 2020-10-29 21:10:34 +08:00
parent 01699f7268
commit dc547aa818

View File

@ -21,6 +21,7 @@ func NewStandardIndicatorSet(symbol string, store *MarketDataStore) *StandardInd
Symbol: symbol,
SMA: make(map[types.IntervalWindow]*indicator.SMA),
EWMA: make(map[types.IntervalWindow]*indicator.EWMA),
BOLL: make(map[types.IntervalWindow]*indicator.BOLL),
store: store,
}