Administrator
2025-08-28 13822f1c61c3d4c4705fa805b225798f81d37442
api/outside_api_command_callback.py
@@ -1441,7 +1441,8 @@
                                    "buy_first_limit_up": 1 if constant.CAN_BUY_FIRST_LIMIT_UP else 0,
                                    "can_auto_add_white": 1 if constant.CAN_AUTO_ADD_WHITE else 0,
                                    "can_auto_add_want_buy_codes": 1 if constant.CAN_AUTO_ADD_WANT_BUY_CODES else 0,
                                    "can_auto_l_down_rate_change": 1 if constant.CAN_AUTO_L_DOWN_RATE_CHANGE else 0
                                    "can_auto_l_down_rate_change": 1 if constant.CAN_AUTO_L_DOWN_RATE_CHANGE else 0,
                                    "auto_add_want_buy_codes_time_ranges": constant.AUTO_ADD_WANT_BUY_CODES_TIME_RANGES
                                    }}
                self.send_response({"code": 0, "data": data, "msg": f""},
                                   client_id,
@@ -1476,6 +1477,12 @@
                        constant.CAN_AUTO_L_DOWN_RATE_CHANGE = True if radical_buy.get(
                            'can_auto_l_down_rate_change') else False
                    if radical_buy.get('auto_add_want_buy_codes_time_ranges') is not None:
                        time_ranges = radical_buy.get('auto_add_want_buy_codes_time_ranges')
                        constant.AUTO_ADD_WANT_BUY_CODES_TIME_RANGES = (time_ranges.split(",")[0], time_ranges.split(",")[1])
                self.send_response({"code": 0, "data": {}, "msg": f""},