vnpy/examples/RQData/downloadData.py

15 lines
353 B
Python
Raw Normal View History

2018-11-01 03:10:05 +00:00
# encoding: UTF-8
"""
立即下载数据到数据库中用于手动执行更新操作
"""
from dataService import *
if __name__ == '__main__':
2018-12-21 14:08:54 +00:00
#downloadMinuteBarBySymbol('CU99')
#downloadDailyBarBySymbol('IF99')
#downloadDailyBarBySymbol('TA99')
#downloadDailyBarBySymbol('I99')
downloadTickBySymbol('IF1901', '2018-12-21')