Merge pull request #394 from mhxueshan/dev
修复中期获取历史数据接口中date和period的key赋值的问题
This commit is contained in:
commit
b5af41c574
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user