예제 #1
0
def save_day(paralleled=True):
    """多进程保存日线数据
    """
    QA_SU_save_index_list('tdx')
    QA_SU_save_index_day('tdx', paralleled=paralleled)
    QA_SU_save_etf_list('tdx')
    QA_SU_save_etf_day('tdx', paralleled=paralleled)
    QA_SU_save_stock_list('tdx')
    QA_SU_save_stock_block('tdx')
    QA_SU_save_stock_day('tdx', paralleled=paralleled)
예제 #2
0
 def test_save_day(self):
     from QUANTAXIS.QACmd import QA_SU_save_stock_day, QA_SU_save_index_day, QA_SU_save_etf_day, \
         QA_SU_save_stock_xdxr, QA_SU_save_etf_list, QA_SU_save_index_list, QA_SU_save_stock_list, \
         QA_SU_save_stock_block
     QA_SU_save_stock_day('tdx', paralleled=True)
     QA_SU_save_stock_xdxr('tdx')
     QA_SU_save_index_day('tdx', paralleled=True)
     QA_SU_save_etf_list('tdx')
     QA_SU_save_etf_day('tdx', paralleled=True)
     QA_SU_save_index_list('tdx')
     QA_SU_save_stock_list('tdx')
     QA_SU_save_stock_block('tdx')