diff --git a/pkg/strategy/rsmaker/strategy.go b/pkg/strategy/rsmaker/strategy.go index b3db11c0b..3233fa3d5 100644 --- a/pkg/strategy/rsmaker/strategy.go +++ b/pkg/strategy/rsmaker/strategy.go @@ -36,11 +36,6 @@ func init() { bbgo.RegisterStrategy(ID, &Strategy{}) } -type State struct { - Position *types.Position `json:"position,omitempty"` - ProfitStats types.ProfitStats `json:"profitStats,omitempty"` -} - type BollingerSetting struct { types.IntervalWindow BandWidth float64 `json:"bandWidth"` @@ -149,8 +144,6 @@ type Strategy struct { orderExecutor *bbgo.GeneralOrderExecutor book *types.StreamOrderBook - state *State - groupID uint32 // defaultBoll is the BOLLINGER indicator we used for predicting the price.