1、阶段减仓
This commit is contained in:
@ -26,9 +26,9 @@ const (
|
||||
PreFutOrderList = "_PreFutOrderList_:%s" // 待触发的订单集合 {交易所类型 exchange_type}
|
||||
|
||||
//策略现货订单集合 {交易所类型 exchange_type}
|
||||
StrategySpotOrderList = "strategy_spot_order_list_%s"
|
||||
StrategySpotOrderList = "strategy_spot_order_list:%s"
|
||||
//策略合约订单集合 {交易所类型 exchange_type}
|
||||
StrategyFutOrderList = "strategy_fut_order_list_%s"
|
||||
StrategyFutOrderList = "strategy_fut_order_list:%s"
|
||||
|
||||
API_USER = "api_user:%v" // api用户
|
||||
SystemSetting = "system_setting" //系统设置
|
||||
@ -51,6 +51,11 @@ const (
|
||||
//波段合约触发{apiuserid|symbol}
|
||||
StrategyFutTriggerLock = "strategy_fut_trigger_l:%v_%s"
|
||||
|
||||
//减仓波段合约触发 {apiuserid|symbol}
|
||||
ReduceStrategyFutTriggerLock = "reduce_strategy_fut_trigger_l:%v_%s"
|
||||
//减仓波段现货触发 {apiuserid|symbol}
|
||||
ReduceStrategySpotTriggerLock = "reduce_strategy_spot_trigger_l:%v_%s"
|
||||
|
||||
SpotCallBack = "spot_callback:%s" //现货回调 {ordersn}
|
||||
FutCallBack = "fut_callback:%s" //合约回调 {ordersn}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user