This commit is contained in:
2026-09-09 11:06:20 +08:00
parent 8d3c32cd43
commit 983902d065
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ buy_value: 5000
min_cash_ratio: 0.10 min_cash_ratio: 0.10
loss_trigger_pct: -10 loss_trigger_pct: -10
grid_step_pct: 1 grid_step_pct: 1
min_profit_pct: 2 min_profit_pct: 9
strategy: trend strategy: trend
signal_allow: ["morning","tail","arbitrage"] signal_allow: ["morning","tail","arbitrage"]
enable_loss_add_position: True enable_loss_add_position: True

View File

@@ -15,7 +15,7 @@ class DipWatch:
def __init__( def __init__(
self, self,
expire_seconds: float = 300, expire_seconds: float = 600,
rebound_threshold: float = 1.5, # 反弹力度 1.5% rebound_threshold: float = 1.5, # 反弹力度 1.5%
) -> None: ) -> None:
self.expire_seconds = expire_seconds self.expire_seconds = expire_seconds