1、临时提交 反向下单

This commit is contained in:
2025-08-01 10:30:43 +08:00
parent 771c617da4
commit 56a761e5ab
16 changed files with 490 additions and 188 deletions

View File

@ -73,6 +73,7 @@ type FutOrderPlace struct {
StopPrice decimal.Decimal `json:"stopprice"` //止损价格
OrderType string `json:"order_type"` //订单类型市价或限价MARKET(市价单) TAKE_PROFIT_MARKET市价止盈 TAKE_PROFIT(限价止盈) STOP (限价止损) STOP_MARKET市价止损
NewClientOrderId string `json:"newClientOrderId"`
ClosePosition bool `json:"closePosition"` //是否平仓
}
func (s FutOrderPlace) CheckParams() error {