From 1c76abc59af35931b70b4742038dae0cfe4890d4 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期二, 18 七月 2023 16:28:18 +0800 Subject: [PATCH] 华鑫适配 --- trade/current_price_process_manager.py | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/trade/current_price_process_manager.py b/trade/current_price_process_manager.py index c3d15e3..4801943 100644 --- a/trade/current_price_process_manager.py +++ b/trade/current_price_process_manager.py @@ -169,3 +169,16 @@ break print(add_code_list, del_code_list) + + +__trade_price_dict = {} + + +# 璁剧疆鎴愪氦浠� +def set_trade_price(code, price): + __trade_price_dict[code] = price + + +# 鑾峰彇鎴愪氦浠� +def get_trade_price(code): + return __trade_price_dict.get(code) -- Gitblit v1.8.0