|
|
@@ -504,7 +504,7 @@ impl Predictor {
|
|
|
|
|
|
info!("----------------------------------------");
|
|
|
// info!("止损,参数调整:{} -> {}", prev_open_activate, self.params.open_activate);
|
|
|
- info!("硬止损, 在价格{}处,成本价{},p={}。", self.fair_price_focus_close, self.pos_avg_price, self.profit_point);
|
|
|
+ info!("硬止损, 在价格{}处,成本价{},价值={}, p={}。", self.fair_price_focus_close, self.pos_avg_price, self.pos_avg_price*self.pos_amount, self.profit_point);
|
|
|
info!("----------------------------------------");
|
|
|
}
|
|
|
// ============================ 止损逻辑处理2 =======================
|
|
|
@@ -517,7 +517,7 @@ impl Predictor {
|
|
|
self.fair_price_focus_close = self.mid_price;
|
|
|
|
|
|
info!("----------------------------------------");
|
|
|
- info!("止损逻辑2, 在价格{}处,成本价{},p={}。", self.fair_price_focus_close, self.pos_avg_price, self.profit_point);
|
|
|
+ info!("止损逻辑2, 在价格{}处,成本价{},价值={}, p={}。", self.fair_price_focus_close, self.pos_avg_price, self.pos_avg_price*self.pos_amount, self.profit_point);
|
|
|
info!("----------------------------------------");
|
|
|
}
|
|
|
}
|