mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-21 22:43:52 +00:00
rsmaker: remove legacy state struct
This commit is contained in:
parent
16eeeb852c
commit
b75da154a8
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user