fix: 删除多定义的方法 (#528)

This commit is contained in:
ERIC LEUNG
2025-11-05 20:11:50 +08:00
committed by GitHub
parent 80b09f0982
commit 2d084f373c
5 changed files with 2 additions and 136 deletions

View File

@@ -36,10 +36,6 @@ type Trader interface {
// SetTakeProfit 设置止盈单
SetTakeProfit(symbol string, positionSide string, quantity, takeProfitPrice float64) error
// CancelStopOrders 取消该币种的止盈/止损单(已废弃:会同时删除止损和止盈)
// 请使用 CancelStopLossOrders 或 CancelTakeProfitOrders
CancelStopOrders(symbol string) error
// CancelStopLossOrders 仅取消止损单(修复 BUG调整止损时不删除止盈
CancelStopLossOrders(symbol string) error