瀏覽代碼

尝试消除内存

daniel-ali 2 年之前
父節點
當前提交
fa91b93d60
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      QMT/qmt_real_hlfx.py

+ 2 - 2
QMT/qmt_real_hlfx.py

@@ -19,8 +19,7 @@ import traceback
 from apscheduler.schedulers.blocking import BlockingScheduler
 import gc
 
-#原始版本
-
+# 原始版本
 # auth('18616891214', 'Ea?*7f68nD.dafcW34d!')
 # auth('18521506014', 'Abc123!@#')
 # stocks = list(get_all_securities(['stock'], date=dt.today().strftime('%Y-%m-%d')).index)
@@ -29,6 +28,7 @@ import gc
 pd.set_option('display.max_columns', None) # 设置显示最大行
 fre = '1d'
 
+
 def run(seq):
     print('seq=', seq)
     '''阻塞线程接收行情回调'''