Update test.py
修改getPriceHisory方法的入参格式
This commit is contained in:
parent
2a4dfc36b0
commit
97c244893c
@ -19,7 +19,7 @@ if __name__ == '__main__':
|
||||
#api.getPrices({'instruments': 'EUR_USD'})
|
||||
|
||||
# 获取历史数据,失败
|
||||
#api.getPriceHisory({'instruments': 'EUR_USD',
|
||||
#api.getPriceHisory({'instrument': 'EUR_USD',
|
||||
#'granularity': 'D',
|
||||
#'candleFormat': 'midpoint',
|
||||
#'count': '50'})
|
||||
@ -102,4 +102,4 @@ if __name__ == '__main__':
|
||||
#api.getAutochartist({'instrument': 'EUR_USD'})
|
||||
|
||||
# 阻塞
|
||||
input()
|
||||
input()
|
||||
|
Loading…
Reference in New Issue
Block a user