Browse Source

取消订单 await

JiahengHe 2 years ago
parent
commit
e48f8fd25d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      strategy/src/quant.rs

+ 1 - 1
strategy/src/quant.rs

@@ -977,7 +977,7 @@ impl Quant {
                 error!("清空挂单异常: {}", e);
             }
         };
-        match self.platform_rest.cancel_orders_all() {
+        match self.platform_rest.cancel_orders_all().await {
             Ok(val)=>{
                 info!("清空所有挂单,{:?}", val);
             },