fix: ewma copy

This commit is contained in:
zenix 2022-07-21 19:51:19 +09:00
parent a8fe20ae3a
commit d2dee44647

View File

@ -27,7 +27,6 @@ func (inc *EWMA) Clone() *EWMA {
out := &EWMA{
IntervalWindow: inc.IntervalWindow,
Values: inc.Values[:],
LastOpenTime: inc.LastOpenTime,
}
out.SeriesBase.Series = out
return out