浏览代码

self.sigma_square = self.spread_max

skyffire 1 年之前
父节点
当前提交
4014fef520
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      strategy/src/avellaneda_stoikov.rs

+ 1 - 1
strategy/src/avellaneda_stoikov.rs

@@ -235,7 +235,7 @@ impl AvellanedaStoikov {
     }
 
     pub fn update_sigma_square(&mut self) {
-        self.sigma_square = self.spread_max * dec!(1.2);
+        self.sigma_square = self.spread_max;
         self.sigma_square.rescale(10);
     }