mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 06:53:52 +00:00
liqmaker: add liqmaker to alias
This commit is contained in:
parent
2508dc18f0
commit
8df886903c
|
@ -17,6 +17,7 @@ import (
|
|||
)
|
||||
|
||||
const ID = "liquiditymaker"
|
||||
const IDAlias = "liqmaker"
|
||||
|
||||
type advancedOrderCancelApi interface {
|
||||
CancelAllOrders(ctx context.Context) ([]types.Order, error)
|
||||
|
@ -25,6 +26,7 @@ type advancedOrderCancelApi interface {
|
|||
|
||||
func init() {
|
||||
bbgo.RegisterStrategy(ID, &Strategy{})
|
||||
bbgo.RegisterStrategy(IDAlias, &Strategy{})
|
||||
}
|
||||
|
||||
// Strategy is the strategy struct of LiquidityMaker
|
||||
|
|
Loading…
Reference in New Issue
Block a user