From 25d100b3b1702c23b4e9cc04e7e83c2f05a6ddaf Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期五, 19 四月 2024 11:31:41 +0800 Subject: [PATCH] 添加S撤日志/L后重新囊括放开 --- test/test_sell.py | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/test/test_sell.py b/test/test_sell.py index 865b88d..9674dba 100644 --- a/test/test_sell.py +++ b/test/test_sell.py @@ -149,4 +149,12 @@ if __name__ == '__main__': - statistic_sell_order() + # s + real_order_time_ms = "09:30:47" + ".{0:0>3}".format(220) + big_sell_order_info = [1809599, [[7351750, 208000, 8.7, (11042670, 527268), (11042670, 527275)]]] + max_money = 0 + for x in big_sell_order_info[1]: + deal_time = l2_huaxin_util.convert_time(x[4][0], with_ms=True) + if real_order_time_ms: + if tool.trade_time_sub_with_ms(deal_time, real_order_time_ms) >= 0: + print("123123") -- Gitblit v1.8.0