mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
rename trailingstop to emastop
This commit is contained in:
parent
b3661f5d32
commit
6e7f12ca9f
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
crossExchangeStrategies:
|
crossExchangeStrategies:
|
||||||
- trailingstop:
|
- emastop:
|
||||||
sourceExchange: "binance"
|
sourceExchange: "binance"
|
||||||
targetExchange: "max"
|
targetExchange: "max"
|
||||||
symbol: ETHUSDT
|
symbol: ETHUSDT
|
|
@ -13,7 +13,7 @@ import (
|
||||||
_ "github.com/c9s/bbgo/pkg/strategy/schedule"
|
_ "github.com/c9s/bbgo/pkg/strategy/schedule"
|
||||||
_ "github.com/c9s/bbgo/pkg/strategy/support"
|
_ "github.com/c9s/bbgo/pkg/strategy/support"
|
||||||
_ "github.com/c9s/bbgo/pkg/strategy/swing"
|
_ "github.com/c9s/bbgo/pkg/strategy/swing"
|
||||||
_ "github.com/c9s/bbgo/pkg/strategy/trailingstop"
|
_ "github.com/c9s/bbgo/pkg/strategy/emastop"
|
||||||
_ "github.com/c9s/bbgo/pkg/strategy/xbalance"
|
_ "github.com/c9s/bbgo/pkg/strategy/xbalance"
|
||||||
_ "github.com/c9s/bbgo/pkg/strategy/xmaker"
|
_ "github.com/c9s/bbgo/pkg/strategy/xmaker"
|
||||||
_ "github.com/c9s/bbgo/pkg/strategy/xpuremaker"
|
_ "github.com/c9s/bbgo/pkg/strategy/xpuremaker"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package trailingstop
|
package emastop
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
@ -13,7 +13,7 @@ import (
|
||||||
"github.com/c9s/bbgo/pkg/types"
|
"github.com/c9s/bbgo/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
const ID = "trailingstop"
|
const ID = "emastop"
|
||||||
|
|
||||||
var log = logrus.WithField("strategy", ID)
|
var log = logrus.WithField("strategy", ID)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user