liqmaker: drop unused interface

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

View File

@ -19,11 +19,6 @@ import (
const ID = "liquiditymaker" const ID = "liquiditymaker"
const IDAlias = "liqmaker" const IDAlias = "liqmaker"
type advancedOrderCancelApi interface {
CancelAllOrders(ctx context.Context) ([]types.Order, error)
CancelOrdersBySymbol(ctx context.Context, symbol string) ([]types.Order, error)
}
func init() { func init() {
bbgo.RegisterStrategy(ID, &Strategy{}) bbgo.RegisterStrategy(ID, &Strategy{})
bbgo.RegisterStrategy(IDAlias, &Strategy{}) bbgo.RegisterStrategy(IDAlias, &Strategy{})