修复滚仓
This commit is contained in:
@@ -102,6 +102,7 @@ def _count_active_trends(conn, cfg: dict) -> int:
|
|||||||
|
|
||||||
|
|
||||||
def _roll_preview_response(cfg: dict, data: dict, json_mode: bool = False) -> dict:
|
def _roll_preview_response(cfg: dict, data: dict, json_mode: bool = False) -> dict:
|
||||||
|
get_db = cfg["get_db"]
|
||||||
symbol = cfg["normalize_symbol_input"](data.get("symbol") or "")
|
symbol = cfg["normalize_symbol_input"](data.get("symbol") or "")
|
||||||
if not symbol:
|
if not symbol:
|
||||||
return {"ok": False, "msg": "请选择或填写币种"}
|
return {"ok": False, "msg": "请选择或填写币种"}
|
||||||
|
|||||||
Reference in New Issue
Block a user