Update test.py

修改getPriceHisory方法的入参格式
This commit is contained in:
sniper24 2016-03-21 00:22:15 +08:00
parent 2a4dfc36b0
commit 97c244893c

View File

@ -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()