mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
fix: add persistence to drift
This commit is contained in:
parent
f2d37650a5
commit
7368069c7a
|
@ -42,9 +42,9 @@ type Strategy struct {
|
|||
types.IntervalWindow
|
||||
|
||||
*bbgo.Environment
|
||||
*types.Position
|
||||
*types.ProfitStats
|
||||
*types.TradeStats
|
||||
*types.Position `persistence:"position"`
|
||||
*types.ProfitStats `persistence:"profit_stats"`
|
||||
*types.TradeStats `persistence:"trade_stats"`
|
||||
|
||||
drift *indicator.Drift
|
||||
atr *indicator.ATR
|
||||
|
|
Loading…
Reference in New Issue
Block a user