From fa3eef0e3d4bece51374ef459e3bab0f8c248b9f Mon Sep 17 00:00:00 2001 From: Christian Reich Date: Thu, 15 May 2014 18:52:15 +0200 Subject: [PATCH] Update streaming.cpp fixed sample url. "/quote" is not supported (anymore?) --- streaming.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streaming.cpp b/streaming.cpp index c782323..f87a551 100644 --- a/streaming.cpp +++ b/streaming.cpp @@ -41,7 +41,7 @@ int main () const Context::Ptr context = new Context(Context::CLIENT_USE, "", "", "", Context::VERIFY_NONE, 9, false, "ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH"); // prepare session - URI uri("https://stream-fxpractice.oanda.com/v1/quote?accountId=&instruments=EUR_USD"); + URI uri("https://stream-fxpractice.oanda.com/v1/prices?accountId=&instruments=EUR_USD"); HTTPSClientSession session(uri.getHost(), uri.getPort(), context); session.setKeepAlive(true);