1、阶段减仓
This commit is contained in:
@ -550,6 +550,9 @@ func removeSpotLossAndAddPosition(mainId int, orderSn string) {
|
||||
addPosition := AddPositionList{}
|
||||
reduce := ReduceListItem{}
|
||||
|
||||
//移除减仓后减仓策略
|
||||
RemoveReduceReduceCacheByMainId(mainId, 1)
|
||||
|
||||
//止损缓存
|
||||
for _, v := range stoplossVal {
|
||||
sonic.Unmarshal([]byte(v), &stoploss)
|
||||
|
||||
Reference in New Issue
Block a user