outside_api_command_manager.py
@@ -41,6 +41,7 @@ CODE_LIST_BLACK = "black" CODE_LIST_WANT = "want" CODE_LIST_PAUSE_BUY = "pause_buy" CODE_LIST_MUST_BUY = "must_buy" # 类型 API_TYPE_TRADE = "trade" # 交易 @@ -165,7 +166,7 @@ return key, sk @classmethod def init(cls, addr, port, trade_action_callback, common_client_count=20, trade_client_count=15): def init(cls, addr, port, trade_action_callback, common_client_count=20, trade_client_count=20): cls.common_client_dict.clear() cls.common_client_count = common_client_count cls.trade_client_dict.clear()