vnpy/examples/DataService/RqdataDataService/downloadData.py

17 lines
407 B
Python

# encoding: UTF-8
"""
立即下载数据到数据库中,用于手动执行更新操作。
"""
from dataService import *
if __name__ == '__main__':
#downloadMinuteBarBySymbol('IF1812')
#downloadAllMinuteBar()
#downloadMinuteBarBySymbol('CU99')
downloadDailyBarBySymbol('CU99')
downloadDailyBarBySymbol('IF99')
downloadDailyBarBySymbol('TA99')
downloadDailyBarBySymbol('I99')