fix bug
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user