From 6fb540dfb5912fc92dd9c4666c712fd2af02561b Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期二, 25 六月 2024 11:09:59 +0800 Subject: [PATCH] 已挂单的数据不能移除L2 --- third_data/kpl_api.py | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/third_data/kpl_api.py b/third_data/kpl_api.py index f174bf4..b3054cb 100644 --- a/third_data/kpl_api.py +++ b/third_data/kpl_api.py @@ -19,7 +19,7 @@ DABAN_TYPE_EVER_LIMIT_DOWN = 5 -def __base_request(url, data, timeout=60): +def __base_request(url, data, timeout=10): DELEGATE = True if not DELEGATE: headers = { @@ -258,4 +258,9 @@ if __name__ == "__main__": - print(getLimitUpInfoNew()) + # getCodeBlocks("300198") + data = (getMarketJingXuanRealRankingInfo()) + data=json.loads(data) + print(len(data["list"])) + # data = json.loads(getCodesByPlate("801235")) + # print(data) -- Gitblit v1.8.0