mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
fix: ewma copy
This commit is contained in:
parent
a8fe20ae3a
commit
d2dee44647
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user