liqmaker: add liqmaker to alias

This commit is contained in:
c9s 2024-10-25 12:15:18 +08:00
parent 2508dc18f0
commit 8df886903c
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -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