Administrator
4 天以前 8b5f4dcda25d4aa72a35d778f8cb3757c26acc42
api/outside_api_command_callback.py
@@ -1032,7 +1032,7 @@
                        except Exception as e:
                            logger_debug.exception(e)
                result = {"code": 0, "data": {"account_available_money": account_available_money, "delegates": fdatas}}
                result = {"code": 0, "data": {"account_available_money": account_available_money, "delegates": fdatas, "rate_of_increase_step": constant.L_DOWN_RATE_INCREASE_STEP}}
                self.send_response(result, client_id, request_id)
            elif ctype == "get_delegated_buy_code_infos_v2":
                account_available_money = trade_data_manager.AccountMoneyManager().get_available_money_cache()
@@ -1602,7 +1602,7 @@
            elif ctype == "set_code_today_ex_rights":
                # 代码今日除权,需要更新K线
                code = data.get("code")
                volumes_data = history_k_data_manager.update_history_k_bars_of_code(code, force=True)
                volumes_data = history_k_data_manager.update_history_k_bars_of_code(code, force=True, juejin=True)
                if not volumes_data:
                    result = {"code": 1, "msg": "拉取K线失败"}
                else: