servers/huaxin_trade_server.py | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
servers/huaxin_trade_server.py
@@ -897,8 +897,8 @@ # 预埋单 def __test_pre_place_order(): logger_debug.info("进入预埋单测试") price = round(3.55*1.1, 2) code = "600581" price = round(21.24*1.1, 2) code = "002273" shadow_price = tool.get_shadow_price(price) if not constant.TRADE_ENABLE: return @@ -924,8 +924,8 @@ schedule.run_pending() time.sleep(1) # 9点半后终止运行 if tool.trade_time_sub(tool.get_now_time_str(), "09:30:00") > 0: break # if tool.trade_time_sub(tool.get_now_time_str(), "09:30:00") > 0: # break # 持仓刷新 huaxin_trade_data_update.add_position_list()