1、参数组装

This commit is contained in:
2025-02-08 18:32:41 +08:00
parent 52860fc37f
commit 2954b8eb15
5 changed files with 61 additions and 106 deletions

View File

@ -41,22 +41,12 @@ const (
//需要清理键值---------BEGIN---------------
UserHolding = "api_user_hold:%v" //用户持仓币种 {主单apiid} 不是交易对
SpotHedgeClosePosition = "spot_hedge_close_position:%v_%s" //现货对冲平仓 {mainorderid|symbol}
FuturesHedgeClosePosition = "futures_hedge_close_position:%v_%s" //合约对冲平仓 {mainorderid|symbol}
SpotStopLossList = "spot_stoploss_list:%s" //现货止损待触发列表 {交易所类型code}
FuturesStopLossList = "futures_stoploss_list:%s" //合约止损待触发列表 {交易所类型code}
SpotAddPositionList = "spot_add_position_list" //现货加仓待触发
FuturesAddPositionList = "futures_add_position_list" //合约加仓待触发
StoplossMarkt = "stop_loss_markt" //对冲保险单(市价) 对冲单成交之后、清除
HoldeA = "holde_a:%v" //持仓A {主单id}
HoldeB = "holde_b:%v" //持仓B {主单id}
HedgeClosePosition = "hedge_close_position:%v" //对冲平仓记录 {主单id}
//需要清理键值---------END-----------------
)