Merge pull request #394 from mhxueshan/dev

修复中期获取历史数据接口中date和period的key赋值的问题
This commit is contained in:
vn.py 2017-07-08 21:33:26 +08:00 committed by GitHub
commit b5af41c574

View File

@ -113,9 +113,9 @@ class ShcifcoApi(object):
}
# 可选参数
if date:
params[date] = date
params['date'] = date
if period:
params[period] = period
params['period'] = period
data = self.getData(path, params)
if not data: