rename bollpp to bollmaker

This commit is contained in:
c9s 2022-01-09 01:20:47 +08:00
parent 02dfdb57bd
commit 4cdb5b607b
3 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@ backtest:
exchangeStrategies: exchangeStrategies:
- on: max - on: max
bollpp: bollmaker:
symbol: ETHUSDT symbol: ETHUSDT
interval: 5m interval: 5m
quantity: 0.005 quantity: 0.005

View File

@ -3,7 +3,7 @@ package cmd
// import built-in strategies // import built-in strategies
import ( import (
_ "github.com/c9s/bbgo/pkg/strategy/bollgrid" _ "github.com/c9s/bbgo/pkg/strategy/bollgrid"
_ "github.com/c9s/bbgo/pkg/strategy/bollpp" _ "github.com/c9s/bbgo/pkg/strategy/bollmaker"
_ "github.com/c9s/bbgo/pkg/strategy/emastop" _ "github.com/c9s/bbgo/pkg/strategy/emastop"
_ "github.com/c9s/bbgo/pkg/strategy/etf" _ "github.com/c9s/bbgo/pkg/strategy/etf"
_ "github.com/c9s/bbgo/pkg/strategy/flashcrash" _ "github.com/c9s/bbgo/pkg/strategy/flashcrash"

View File

@ -1,4 +1,4 @@
package bollpp package bollmaker
import ( import (
"context" "context"
@ -18,7 +18,7 @@ import (
"github.com/c9s/bbgo/pkg/types" "github.com/c9s/bbgo/pkg/types"
) )
const ID = "bollpp" const ID = "bollmaker"
const stateKey = "state-v1" const stateKey = "state-v1"