From 5f65f553b8d1b9f7e42ceef2e79dd41552733bcf Mon Sep 17 00:00:00 2001 From: sniper24 Date: Mon, 21 Mar 2016 00:24:37 +0800 Subject: [PATCH] Update vnoanda.py --- vn.oanda/vnoanda.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)