mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
rename gap to xgap
This commit is contained in:
parent
1c54e59d55
commit
30a7ca1ce1
|
@ -50,7 +50,7 @@ sessions:
|
||||||
|
|
||||||
crossExchangeStrategies:
|
crossExchangeStrategies:
|
||||||
|
|
||||||
- gap:
|
- xgap:
|
||||||
symbol: "ETHUSDT"
|
symbol: "ETHUSDT"
|
||||||
sourceExchange: binance
|
sourceExchange: binance
|
||||||
tradingExchange: max
|
tradingExchange: max
|
|
@ -7,7 +7,7 @@ import (
|
||||||
_ "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"
|
||||||
_ "github.com/c9s/bbgo/pkg/strategy/gap"
|
_ "github.com/c9s/bbgo/pkg/strategy/xgap"
|
||||||
_ "github.com/c9s/bbgo/pkg/strategy/grid"
|
_ "github.com/c9s/bbgo/pkg/strategy/grid"
|
||||||
_ "github.com/c9s/bbgo/pkg/strategy/kline"
|
_ "github.com/c9s/bbgo/pkg/strategy/kline"
|
||||||
_ "github.com/c9s/bbgo/pkg/strategy/pricealert"
|
_ "github.com/c9s/bbgo/pkg/strategy/pricealert"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package gap
|
package xgap
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
@ -16,7 +16,7 @@ import (
|
||||||
"github.com/c9s/bbgo/pkg/types"
|
"github.com/c9s/bbgo/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
const ID = "gap"
|
const ID = "xgap"
|
||||||
|
|
||||||
const stateKey = "state-v1"
|
const stateKey = "state-v1"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user