Skip to content

Latest commit

 

History

History
executable file
·
39 lines (25 loc) · 1.49 KB

ERROR.md

File metadata and controls

executable file
·
39 lines (25 loc) · 1.49 KB

勘误记录


QAUtil 模块

QAParameter.py

  1. TODO: line 48, 代码重复
  2. TODO: line 182, NETWORK_BROKERN --> NETWORK_BROKEN
  3. TODO: line 183, DATABSECONNECT_LOST --> DATABASECONNECT_LOST

QABar.py

  1. TODO: QA_util_make_futuremin_index(day, type_="1min") --> 废弃函数,且函数语句有误,建议删除;或者保留接口用于生成期货品种的分钟指标?

QALogs.py

  1. TODO: QA_util_log_expection(logs, ui_log=None, ui_progress=None) --> 处理 exception, 是否考虑将名称改换成 QA_util_log_exception, 经过查找, QA 中用到该函数的文件和函数位置如下:

    quantaxis/QUANTAXIS/QASU/save_backtest.py:from QUANTAXIS.QAUtil import QA_util_log_expection
    quantaxis/QUANTAXIS/QASU/save_backtest.py:        QA_util_log_expection('QA error in saving backtest account')
    quantaxis/QUANTAXIS/QASU/save_tusharepro_pg.py:from QUANTAXIS.QAUtil.QALogs import (QA_util_log_debug, QA_util_log_expection,
    quantaxis/QUANTAXIS/QAUtil/QALogs.py:QA_util_log_expection()
    quantaxis/QUANTAXIS/QAUtil/QALogs.py:def QA_util_log_expection(logs, ui_log=None, ui_progress=None):
    quantaxis/QUANTAXIS/QAUtil/__init__.py:from QUANTAXIS.QAUtil.QALogs import (QA_util_log_debug, QA_util_log_expection,
    quantaxis/QUANTAXIS/__init__.py:    QA_util_log_expection,
    

QAAuth.py

  1. TODO: 空文件

QACfg.py

  1. TODO: 废弃函数