修复中期获取历史数据接口中date和period的key赋值的问题

This commit is contained in:
XueShan 2017-07-08 15:02:45 +08:00
parent 2189cdef62
commit b43f70e48e

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: