vnpy/examples/DataService/CccDataService/downloadData.py

16 lines
431 B
Python
Raw Normal View History

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