瀏覽代碼

sigma = 1.618

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

+ 1 - 1
strategy/src/avellaneda_stoikov.rs

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