From 578d1b3d12fff23101ee4bb9c97a04739fa9ae05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?O=E5=8F=A3?= Date: Sat, 10 Dec 2022 14:40:01 +0100 Subject: [PATCH 1/4] Create README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..db6af99 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# NASFAQ +## WIP +A poor attempt at creating a toolchain for analysis, optimization and autotrading on [nasfaq](nasfaq.biz). From eaee69c372ba3f1e8b0b6fddb58442baffce8a06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?O=E5=8F=A3?= Date: Sat, 10 Dec 2022 14:40:30 +0100 Subject: [PATCH 2/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index db6af99..8a85cae 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # NASFAQ ## WIP -A poor attempt at creating a toolchain for analysis, optimization and autotrading on [nasfaq](nasfaq.biz). +A poor attempt at creating a toolchain for analysis, optimization and autotrading on nasfaq.biz. From 6222b1971fa64493f9211062db7e79dc3bb81d17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?O=E5=8F=A3?= Date: Sat, 10 Dec 2022 14:50:06 +0100 Subject: [PATCH 3/4] Update http_connector.cpp --- connections/http/http_connector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connections/http/http_connector.cpp b/connections/http/http_connector.cpp index 222287a..0ffcfa2 100644 --- a/connections/http/http_connector.cpp +++ b/connections/http/http_connector.cpp @@ -25,7 +25,7 @@ namespace nsfq_http { /* Header definition. TODO: cookie should be handled safely? */ m_slist1 = NULL; - m_slist1 = curl_slist_append(m_slist1 , "Cookie: holosesh=s%3AxmS8xBlQk4kH_rXQOaNjHk_3OuaBDsfA.M0yi%2BZmkiq%2BAmJBRj%2FNg9S%2BaSQpsfHRJcEeYVHLiKXg"); + m_slist1 = curl_slist_append(m_slist1 , "Cookie: holosesh=s%3aSQpsfHRJcEeYVHLiKXg"); m_slist1 = curl_slist_append(m_slist1, "referer : https://nasfaq.biz/market"); curl_easy_setopt(m_hdl, CURLOPT_HTTPHEADER, m_slist1); } From b0fce3baf4f355aecb971b6e3f1e69b8c2603b35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?O=E5=8F=A3?= Date: Sat, 10 Dec 2022 14:50:31 +0100 Subject: [PATCH 4/4] Update ssl_ws.cpp --- connections/ws/ssl_ws.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connections/ws/ssl_ws.cpp b/connections/ws/ssl_ws.cpp index 878d54f..03a5405 100644 --- a/connections/ws/ssl_ws.cpp +++ b/connections/ws/ssl_ws.cpp @@ -182,7 +182,7 @@ namespace ws { websocketpp::lib::error_code ec; client::connection_ptr con = m_endpoint.get_connection(uri, ec); - con->append_header("Cookie", "holosesh=s%3AxmS8xBlQk4kH_rXQOaNjHk_3OuaBDsfA.M0yi%2BZmkiq%2BAmJBRj%2FNg9S%2BaSQpsfHRJcEeYVHLiKXg"); + con->append_header("Cookie", "holosesh=s%3AxmS8xBlcEeYVHLiKXg"); if(ec) { std::cout << ">Connect initialization error: " << ec.message() << std::endl;