diff --git a/README.md b/README.md new file mode 100644 index 0000000..8a85cae --- /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.biz. diff --git a/connections/http/http_connector.cpp b/connections/http/http_connector.cpp index a1fc8a6..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%3AxmS8xBlQk"); + 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); } diff --git a/connections/ws/ssl_ws.cpp b/connections/ws/ssl_ws.cpp index d166f04..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%3AxmS8xBlQk4k"); + con->append_header("Cookie", "holosesh=s%3AxmS8xBlcEeYVHLiKXg"); if(ec) { std::cout << ">Connect initialization error: " << ec.message() << std::endl;