This commit is contained in:
aaron 2026-03-30 21:29:23 +08:00
parent 32f223c74e
commit 8ff05e99db
3 changed files with 6 additions and 6 deletions

View File

@ -234,8 +234,8 @@ class BitgetExecutor(BaseExecutor):
return 24.0
def get_position_exit_rules(self) -> tuple:
"""持仓退出规则:(目标盈利 3%, 最大持仓 6h)"""
return (3.0, 6.0)
"""持仓退出规则:(目标盈利 3%, 无最大持仓时间限制)"""
return (3.0, float('inf'))
def get_fee_rate(self) -> float:
"""手续费率: 0.06% (taker)"""

View File

@ -230,8 +230,8 @@ class HyperliquidExecutor(BaseExecutor):
return 4.0
def get_position_exit_rules(self) -> tuple:
"""持仓退出规则: (目标盈利 2.5%, 最大持仓 4h)"""
return (2.5, 4.0)
"""持仓退出规则: (目标盈利 2.5%, 无最大持仓时间限制)"""
return (2.5, float('inf'))
def get_fee_rate(self) -> float:
"""手续费率: 0.05% (taker)"""

View File

@ -246,8 +246,8 @@ class PaperTradingExecutor(BaseExecutor):
return 4.0
def get_position_exit_rules(self) -> tuple:
"""持仓退出规则:(目标盈利 3%, 最大持仓 4h)"""
return (3.0, 4.0)
"""持仓退出规则:(目标盈利 3%, 无最大持仓时间限制)"""
return (3.0, float('inf'))
def get_fee_rate(self) -> float:
"""手续费率0%(模拟盘)"""