vnpy/examples/DataService/CccDataService/downloadData.py

14 lines
364 B
Python
Raw Normal View History

# encoding: UTF-8
"""
立即下载数据到数据库中用于手动执行更新操作
"""
from dataService import *
if __name__ == '__main__':
#downMinuteBarBySymbol('BTC/USDT.OKEX', '20181012')
#downMinuteBarBySymbol('BTC/USDT.HUOBIPRO', '20181012')
#downMinuteBarBySymbol('BTC/USDT.BINANCE', '20181012')
downloadAllMinuteBar('20181012')