Merge pull request #38 from sniper24/patch-2
Update vnoanda.py,修复API里面getPriceHistory的一处bug
This commit is contained in:
commit
1c399676fb
@ -87,7 +87,7 @@ class OandaApi(object):
|
|||||||
self.initFunctionSetting(FUNCTIONCODE_GETPRICES, {'path': '/v1/prices',
|
self.initFunctionSetting(FUNCTIONCODE_GETPRICES, {'path': '/v1/prices',
|
||||||
'method': 'GET'})
|
'method': 'GET'})
|
||||||
|
|
||||||
self.initFunctionSetting(FUNCTIONCODE_GETPRICEHISTORY, {'path': 'v1/candles',
|
self.initFunctionSetting(FUNCTIONCODE_GETPRICEHISTORY, {'path': '/v1/candles',
|
||||||
'method': 'GET'})
|
'method': 'GET'})
|
||||||
|
|
||||||
self.initFunctionSetting(FUNCTIONCODE_GETACCOUNTS, {'path': '/v1/accounts',
|
self.initFunctionSetting(FUNCTIONCODE_GETACCOUNTS, {'path': '/v1/accounts',
|
||||||
|
Loading…
Reference in New Issue
Block a user