mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
fix BOLL map allocation
This commit is contained in:
parent
01699f7268
commit
dc547aa818
|
@ -21,6 +21,7 @@ func NewStandardIndicatorSet(symbol string, store *MarketDataStore) *StandardInd
|
||||||
Symbol: symbol,
|
Symbol: symbol,
|
||||||
SMA: make(map[types.IntervalWindow]*indicator.SMA),
|
SMA: make(map[types.IntervalWindow]*indicator.SMA),
|
||||||
EWMA: make(map[types.IntervalWindow]*indicator.EWMA),
|
EWMA: make(map[types.IntervalWindow]*indicator.EWMA),
|
||||||
|
BOLL: make(map[types.IntervalWindow]*indicator.BOLL),
|
||||||
store: store,
|
store: store,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user