|
|
@@ -1066,7 +1066,7 @@ impl Core {
|
|
|
if self.strategy.short_pos_bias != Decimal::ZERO {
|
|
|
if self.strategy.short_hold_value > Decimal::TWO * self.strategy._min_amount_value {
|
|
|
if self.strategy.short_pos_bias > dec!(4) || self.strategy.short_pos_bias < -Decimal::TWO {
|
|
|
- let exit_msg = format!("{} short_pos_bias: {},持仓均价异常,退出。", self.params.account_name, self.strategy.long_pos_bias);
|
|
|
+ let exit_msg = format!("{} short_pos_bias: {},持仓均价异常,退出。", self.params.account_name, self.strategy.short_pos_bias);
|
|
|
warn!(exit_msg);
|
|
|
self.exit_msg = exit_msg;
|
|
|
self.stop().await;
|