From dc547aa818d8d37edde9e9b96593d7d4e5dc1c0d Mon Sep 17 00:00:00 2001 From: c9s Date: Thu, 29 Oct 2020 21:10:34 +0800 Subject: [PATCH] fix BOLL map allocation --- pkg/bbgo/session.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/bbgo/session.go b/pkg/bbgo/session.go index f11a0b173..ea6445d19 100644 --- a/pkg/bbgo/session.go +++ b/pkg/bbgo/session.go @@ -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, }