mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +00:00
rename buyandhold to pricedrop
This commit is contained in:
parent
7119378ac0
commit
4c061439d3
|
@ -227,7 +227,7 @@ Check out the strategy directory [strategy](pkg/strategy) for all built-in strat
|
|||
- `xpuremaker` strategy demonstrates how to maintain the orderbook and submit maker
|
||||
orders [xpuremaker](pkg/strategy/xpuremaker)
|
||||
- `buyandhold` strategy demonstrates how to subscribe kline events and submit market
|
||||
order [buyandhold](pkg/strategy/buyandhold)
|
||||
order [buyandhold](pkg/strategy/pricedrop)
|
||||
- `bollgrid` strategy implements a basic grid strategy with the built-in bollinger
|
||||
indicator [bollgrid](pkg/strategy/bollgrid)
|
||||
- `grid` strategy implements the fixed price band grid strategy [grid](pkg/strategy/grid)
|
||||
|
|
|
@ -55,7 +55,7 @@ backtest:
|
|||
|
||||
exchangeStrategies:
|
||||
- on: binance
|
||||
buyandhold:
|
||||
pricedrop:
|
||||
symbol: "BTCUSDT"
|
||||
interval: "1m"
|
||||
baseQuantity: 0.001
|
|
@ -4,7 +4,7 @@ package cmd
|
|||
import (
|
||||
_ "github.com/c9s/bbgo/pkg/strategy/bollgrid"
|
||||
_ "github.com/c9s/bbgo/pkg/strategy/bollpp"
|
||||
_ "github.com/c9s/bbgo/pkg/strategy/buyandhold"
|
||||
_ "github.com/c9s/bbgo/pkg/strategy/pricedrop"
|
||||
_ "github.com/c9s/bbgo/pkg/strategy/etf"
|
||||
_ "github.com/c9s/bbgo/pkg/strategy/flashcrash"
|
||||
_ "github.com/c9s/bbgo/pkg/strategy/gap"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package buyandhold
|
||||
package pricedrop
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
@ -12,7 +12,7 @@ import (
|
|||
"github.com/c9s/bbgo/pkg/types"
|
||||
)
|
||||
|
||||
const ID = "buyandhold"
|
||||
const ID = "pricedrop"
|
||||
|
||||
var log = logrus.WithField("strategy", ID)
|
||||
|
Loading…
Reference in New Issue
Block a user