瀏覽代碼

不开单标识打印

JiahengHe 1 年之前
父節點
當前提交
e44f1baef4
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      strategy/src/strategy.rs

+ 2 - 0
strategy/src/strategy.rs

@@ -1283,6 +1283,8 @@ impl Strategy {
         // 波动率是否允许下单
         if *is_sigma_allow_open {
             self._post_open(&mut command, local_orders);                // 限价单命令处理
+        } else {
+            info!("波动率异常订单亏损, 不开单!");
         }
         self._check_local_orders(&mut command, local_orders);       // 固定时间检查超时订单
         self._update_in_cancel(&mut command, local_orders);         // 更新撤单队列,是一个filter