diff --git a/vn.oanda/vnoanda.py b/vn.oanda/vnoanda.py index a53eafe9..6272b651 100644 --- a/vn.oanda/vnoanda.py +++ b/vn.oanda/vnoanda.py @@ -9,7 +9,7 @@ from threading import Thread API_SETTING = {} API_SETTING['practice'] = {'rest': 'https://api-fxpractice.oanda.com', 'stream': 'https://stream-fxpractice.oanda.com'} -API_SETTING['trade'] = {'rest': 'https://api-fxpractice.oanda.com', +API_SETTING['trade'] = {'rest': 'https://api-fxtrade.oanda.com', 'stream': 'https://stream-fxtrade.oanda.com/'} diff --git a/vn.trader/oandaGateway/vnoanda.py b/vn.trader/oandaGateway/vnoanda.py index 570d3f73..62f29609 100644 --- a/vn.trader/oandaGateway/vnoanda.py +++ b/vn.trader/oandaGateway/vnoanda.py @@ -9,7 +9,7 @@ from threading import Thread API_SETTING = {} API_SETTING['practice'] = {'rest': 'https://api-fxpractice.oanda.com', 'stream': 'https://stream-fxpractice.oanda.com'} -API_SETTING['trade'] = {'rest': 'https://api-fxpractice.oanda.com', +API_SETTING['trade'] = {'rest': 'https://api-fxtrade.oanda.com', 'stream': 'https://stream-fxtrade.oanda.com/'}