{"id":27620906,"url":"https://github.com/yashsiwach/stock-market-cli","last_synced_at":"2025-04-23T07:32:43.201Z","repository":{"id":288562157,"uuid":"968506061","full_name":"yashsiwach/stock-market-cli","owner":"yashsiwach","description":"C++ as a backend to fetch and display the reatime data !FASTEST","archived":false,"fork":false,"pushed_at":"2025-04-18T08:09:28.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-18T21:41:02.544Z","etag":null,"topics":["backend","cpp","cpp20","development"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yashsiwach.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-18T07:47:18.000Z","updated_at":"2025-04-18T08:09:32.000Z","dependencies_parsed_at":"2025-04-18T21:41:05.339Z","dependency_job_id":"d0f94f40-eada-4281-af44-62f0a770293f","html_url":"https://github.com/yashsiwach/stock-market-cli","commit_stats":null,"previous_names":["yashsiwach/stock-market-cli"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashsiwach%2Fstock-market-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashsiwach%2Fstock-market-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashsiwach%2Fstock-market-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashsiwach%2Fstock-market-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yashsiwach","download_url":"https://codeload.github.com/yashsiwach/stock-market-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250392141,"owners_count":21423023,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend","cpp","cpp20","development"],"created_at":"2025-04-23T07:32:42.694Z","updated_at":"2025-04-23T07:32:43.188Z","avatar_url":"https://github.com/yashsiwach.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stock-market-cli\n C++ as a backend to fetch and display the reatime data !FASTEST\n\nSure Yash! Here's a clean and professional GitHub `README.md` for your **Stock Market CLI** project:\n\n---\n![image](https://github.com/user-attachments/assets/8d5d39b1-9cc7-4940-8f73-4e98984056d9)\n\n## 📈 Stock Market CLI\n\nA terminal-based C++ application that displays real-time stock prices in a colorful bar graph format, updated every 10 seconds. Built using `curl` and `jsoncpp`, this project runs entirely in the Linux terminal and is perfect for quickly tracking your favorite stocks.\n\n---\n\n### 🛠️ Features\n\n- Fetches real-time stock data using [Alpha Vantage API](https://www.alphavantage.co)\n- Displays prices for multiple stocks in a compact, color-coded bar chart\n- Updates every 10 seconds automatically\n- Fully terminal-based, lightweight, and fast\n- Customizable stock symbols\n\n---\n\n### 🖼️ Preview\n\n```bash\nStock Market CLI Monitor\n\n1.  AAPL   | $172.39 | ██████████\n2.  GOOGL  | $129.20 | █████████\n3.  MSFT   | $306.10 | ██████████████\n4.  AMZN   | $113.43 | ████████\n5.  META   | $190.67 | █████████████\n\nRefreshing every 10s... (Ctrl+C to quit)\n```\n\n---\n\n### 🔧 Requirements\n\n- Linux OS\n- g++\n- curl (`sudo apt install libcurl4-openssl-dev`)\n- jsoncpp (`sudo apt install libjsoncpp-dev`)\n\n---\n\n### 🚀 Build Instructions\n\n```bash\ngit clone https://github.com/your-username/stock-market-cli.git\ncd stock-market-cli\nmake\n./stock-cli\n```\n\n---\n\n### 📝 How It Works\n\n- The app initializes stock symbols and fetches prices from Alpha Vantage using their API.\n- It then prints a simple color-coded bar graph for each stock, proportional to its current price.\n- Bar colors differ per stock for easier readability.\n\n---\n\n### ⚙️ Configuration\n\nTo customize stock symbols or API key, edit `main.cpp`:\n\n```cpp\nvector\u003cstring\u003e symbols = {\"AAPL\", \"GOOGL\", \"MSFT\", \"AMZN\", \"META\"};\nstring apiKey = \"YOUR_API_KEY_HERE\";\n```\n\nGet your **free API key** from [Alpha Vantage](https://www.alphavantage.co/support/#api-key).\n\n---\n\n### 📁 Project Structure\n\n```\n├── include/\n│   └── stock.h\n├── src/\n│   ├── main.cpp\n│   └── stock.cpp\n├── Makefile\n└── README.md\n```\n\n---\n\n### 🤝 Contributing\n\nPull requests and suggestions are welcome! If you find a bug or want a new feature, feel free to open an issue.\n\n---\n\n### 📄 License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n---\n\nLet me know if you want it tailored to a specific GitHub username or to add screenshots/gifs!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyashsiwach%2Fstock-market-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyashsiwach%2Fstock-market-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyashsiwach%2Fstock-market-cli/lists"}