Merge branch 'dev' of https://github.com/vnpy/vnpy into dev

This commit is contained in:
vn.py 2017-07-14 20:13:00 +08:00
commit 65e9d6897a

View File

@ -46,7 +46,7 @@ class ShcifcoApi(object):
params = {'ids': symbol}
data = self.getData(path, params)
if not data:
if not data or data == ';':
return None
data = data.split(';')[0]
@ -113,7 +113,7 @@ class ShcifcoApi(object):
}
# 可选参数
if date:
params['date'] = date
params['tradingday'] = date
if period:
params['period'] = period