Compare commits

..

No commits in common. "0b9a297065c8c37b4b5f5f602110c150ab93d27a" and "d83a11f453b71bb102550746b9ee8a9c58734522" have entirely different histories.

3 changed files with 2 additions and 5 deletions

View File

@ -1,3 +0,0 @@
# NASFAQ
## WIP
A poor attempt at creating a toolchain for analysis, optimization and autotrading on nasfaq.biz.

View File

@ -25,7 +25,7 @@ namespace nsfq_http {
/* Header definition. TODO: cookie should be handled safely? */ /* Header definition. TODO: cookie should be handled safely? */
m_slist1 = NULL; m_slist1 = NULL;
m_slist1 = curl_slist_append(m_slist1 , "Cookie: holosesh=s%3aSQpsfHRJcEeYVHLiKXg"); m_slist1 = curl_slist_append(m_slist1 , "Cookie: holosesh=s%3AxmS8xBlQk");
m_slist1 = curl_slist_append(m_slist1, "referer : https://nasfaq.biz/market"); m_slist1 = curl_slist_append(m_slist1, "referer : https://nasfaq.biz/market");
curl_easy_setopt(m_hdl, CURLOPT_HTTPHEADER, m_slist1); curl_easy_setopt(m_hdl, CURLOPT_HTTPHEADER, m_slist1);
} }

View File

@ -182,7 +182,7 @@ namespace ws {
websocketpp::lib::error_code ec; websocketpp::lib::error_code ec;
client::connection_ptr con = m_endpoint.get_connection(uri, ec); client::connection_ptr con = m_endpoint.get_connection(uri, ec);
con->append_header("Cookie", "holosesh=s%3AxmS8xBlcEeYVHLiKXg"); con->append_header("Cookie", "holosesh=s%3AxmS8xBlQk4k");
if(ec) { if(ec) {
std::cout << ">Connect initialization error: " << ec.message() << std::endl; std::cout << ">Connect initialization error: " << ec.message() << std::endl;