diff --git a/vn.oanda/vnoanda.py b/vn.oanda/vnoanda.py index 6272b651..a1ff6f30 100644 --- a/vn.oanda/vnoanda.py +++ b/vn.oanda/vnoanda.py @@ -87,7 +87,7 @@ class OandaApi(object): self.initFunctionSetting(FUNCTIONCODE_GETPRICES, {'path': '/v1/prices', 'method': 'GET'}) - self.initFunctionSetting(FUNCTIONCODE_GETPRICEHISTORY, {'path': 'v1/candles', + self.initFunctionSetting(FUNCTIONCODE_GETPRICEHISTORY, {'path': '/v1/candles', 'method': 'GET'}) self.initFunctionSetting(FUNCTIONCODE_GETACCOUNTS, {'path': '/v1/accounts', @@ -605,4 +605,4 @@ class OandaApi(object): if not self.active: break else: - self.onError(error, -1) \ No newline at end of file + self.onError(error, -1)