Compare commits

..

5 Commits

Author SHA1 Message Date
0b9a297065 Merge Mask/fix repo 2022-12-10 16:05:40 +01:00
b0fce3baf4
Update ssl_ws.cpp 2022-12-10 14:50:31 +01:00
6222b1971f
Update http_connector.cpp 2022-12-10 14:50:06 +01:00
eaee69c372
Update README.md 2022-12-10 14:40:30 +01:00
578d1b3d12
Create README.md 2022-12-10 14:40:01 +01:00
3 changed files with 5 additions and 2 deletions

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# 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? */
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);
}

View File

@ -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;