dndanli / StockScraper

Yahoo finance stock scraper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dependencies

libcurl: https://curl.se/

jsoncpp: https://github.com/open-source-parsers/jsoncpp

Compiling

Using g++ or your compiler

g++ -o exec scraper.cpp -L/your/libcurl/path/here/curl/ -lcurl main.cpp utilityFunctions.cpp -L/your/libjsoncpp/path/here/jsoncpp/json/ -ljsoncpp

Or

g++ -o exec scraper.cpp -lcurl main.cpp utilityFunctions.cpp -ljsoncpp

How to use it

  1. In your terminal type ./exec
  2. Type how many stocks to check
  3. Type the name of each stock ticker
  4. Wait for results
  5. Follow output in case you want to check the lowest prices.

Output

sc1 sc2

About

Yahoo finance stock scraper

License:MIT License


Languages

Language:C++ 100.0%