1
This commit is contained in:
parent
32f223c74e
commit
8ff05e99db
@ -234,8 +234,8 @@ class BitgetExecutor(BaseExecutor):
|
|||||||
return 24.0
|
return 24.0
|
||||||
|
|
||||||
def get_position_exit_rules(self) -> tuple:
|
def get_position_exit_rules(self) -> tuple:
|
||||||
"""持仓退出规则:(目标盈利 3%, 最大持仓 6h)"""
|
"""持仓退出规则:(目标盈利 3%, 无最大持仓时间限制)"""
|
||||||
return (3.0, 6.0)
|
return (3.0, float('inf'))
|
||||||
|
|
||||||
def get_fee_rate(self) -> float:
|
def get_fee_rate(self) -> float:
|
||||||
"""手续费率: 0.06% (taker)"""
|
"""手续费率: 0.06% (taker)"""
|
||||||
|
|||||||
@ -230,8 +230,8 @@ class HyperliquidExecutor(BaseExecutor):
|
|||||||
return 4.0
|
return 4.0
|
||||||
|
|
||||||
def get_position_exit_rules(self) -> tuple:
|
def get_position_exit_rules(self) -> tuple:
|
||||||
"""持仓退出规则: (目标盈利 2.5%, 最大持仓 4h)"""
|
"""持仓退出规则: (目标盈利 2.5%, 无最大持仓时间限制)"""
|
||||||
return (2.5, 4.0)
|
return (2.5, float('inf'))
|
||||||
|
|
||||||
def get_fee_rate(self) -> float:
|
def get_fee_rate(self) -> float:
|
||||||
"""手续费率: 0.05% (taker)"""
|
"""手续费率: 0.05% (taker)"""
|
||||||
|
|||||||
@ -246,8 +246,8 @@ class PaperTradingExecutor(BaseExecutor):
|
|||||||
return 4.0
|
return 4.0
|
||||||
|
|
||||||
def get_position_exit_rules(self) -> tuple:
|
def get_position_exit_rules(self) -> tuple:
|
||||||
"""持仓退出规则:(目标盈利 3%, 最大持仓 4h)"""
|
"""持仓退出规则:(目标盈利 3%, 无最大持仓时间限制)"""
|
||||||
return (3.0, 4.0)
|
return (3.0, float('inf'))
|
||||||
|
|
||||||
def get_fee_rate(self) -> float:
|
def get_fee_rate(self) -> float:
|
||||||
"""手续费率:0%(模拟盘)"""
|
"""手续费率:0%(模拟盘)"""
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user