From 0a380986268c27cba7bb461c0b6550b8e72075d1 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期四, 15 八月 2024 16:16:29 +0800 Subject: [PATCH] 可转债买卖接口 --- test/test.py | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/test/test.py b/test/test.py index 244a421..8509fe1 100644 --- a/test/test.py +++ b/test/test.py @@ -1,2 +1,7 @@ +from code_atrribute import history_k_data_util + if __name__ == "__main__": - pass + results = history_k_data_util.HistoryKDatasUtils.get_gp_current_info(["600505"]) + if results: + current_price = results[0]["price"] + print(current_price) -- Gitblit v1.8.0