소스 검색

调整、观察。

skyffire 1 년 전
부모
커밋
12d1f5ca4d
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      strategy/src/avellaneda_stoikov.rs

+ 3 - 3
strategy/src/avellaneda_stoikov.rs

@@ -549,9 +549,9 @@ impl AvellanedaStoikov {
             optimal_ask_price: self.optimal_ask_price,
             optimal_bid_price: self.optimal_bid_price,
 
-            inventory: self.inventory,
-            sigma_square: self.flow_ratio_long,
-            gamma: self.last_open_interest,
+            inventory: self.last_open_interest,
+            sigma_square: self.last_volume,
+            gamma: self.last_price,
             kappa: self.t_diff,
 
             flow_ratio: self.flow_ratio_long,