Update vnoanda.py
This commit is contained in:
parent
2a4dfc36b0
commit
5f65f553b8
@ -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',
|
||||||
@ -605,4 +605,4 @@ class OandaApi(object):
|
|||||||
if not self.active:
|
if not self.active:
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
self.onError(error, -1)
|
self.onError(error, -1)
|
||||||
|
Loading…
Reference in New Issue
Block a user