Allow roll add-ons while position-limit freeze is active.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -130,6 +130,7 @@ def _count_active_trends(conn, cfg: dict) -> int:
|
||||
|
||||
|
||||
def _roll_preview_response(cfg: dict, data: dict, json_mode: bool = False) -> dict:
|
||||
"""顺势加仓不占用 MAX_ACTIVE_POSITIONS 新仓名额,故不校验仓位上限冻结。"""
|
||||
m = cfg.get("app_module")
|
||||
if m is not None:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user