{"id":29091124,"url":"https://github.com/vansh626/stockportfoliotracker","last_synced_at":"2026-05-13T23:36:08.967Z","repository":{"id":301374758,"uuid":"1009035669","full_name":"Vansh626/StockPortfolioTracker","owner":"Vansh626","description":"A C++ command-line stock portfolio tracker with live price fetching and CAGR calculator.","archived":false,"fork":false,"pushed_at":"2025-06-26T14:02:38.000Z","size":143,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-26T15:19:06.424Z","etag":null,"topics":["cpp","cpr","finance","json","portfolio-tracker","stock-market","terminal-app"],"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/Vansh626.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-06-26T13:26:54.000Z","updated_at":"2025-06-26T14:02:42.000Z","dependencies_parsed_at":"2025-06-26T15:29:17.980Z","dependency_job_id":null,"html_url":"https://github.com/Vansh626/StockPortfolioTracker","commit_stats":null,"previous_names":["vansh626/stockportfoliotracker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Vansh626/StockPortfolioTracker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vansh626%2FStockPortfolioTracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vansh626%2FStockPortfolioTracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vansh626%2FStockPortfolioTracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vansh626%2FStockPortfolioTracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vansh626","download_url":"https://codeload.github.com/Vansh626/StockPortfolioTracker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vansh626%2FStockPortfolioTracker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017500,"owners_count":26086085,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cpp","cpr","finance","json","portfolio-tracker","stock-market","terminal-app"],"created_at":"2025-06-28T06:05:39.203Z","updated_at":"2025-10-14T01:41:15.625Z","avatar_url":"https://github.com/Vansh626.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StockPortfolioTracker\n\nA C++ command-line stock portfolio tracker with live price fetching and CAGR (Compound Annual Growth Rate) calculator.\n\n---\n\n## Features\n\n- Add and remove stocks\n- View your portfolio\n- Calculate CAGR for any stock\n- Save and load from JSON\n- Fetch real-time stock prices using Yahoo Finance (fallback to Twelve Data API)\n\n---\n\n## Technologies Used\n\n- **C++17**\n- **[nlohmann/json](https://github.com/nlohmann/json)** for JSON parsing\n- **[CPR](https://github.com/libcpr/cpr)** for HTTP requests\n- **CMake** for build configuration\n\n---\n\n## Getting Started\n\n### Prerequisites\n\n- C++ compiler (MSVC / MinGW / GCC)\n- [CMake](https://cmake.org/)\n- Git\n- vcpkg (for dependency management)\n\n### Setup Instructions\n\n```bash\n# Clone the repository\ngit clone https://github.com/Vansh626/StockPortfolioTracker.git\ncd StockPortfolioTracker\n\n# Install CPR using vcpkg (if not already installed)\n./vcpkg install cpr\n\n# Create build directory and compile\nmkdir build \u0026\u0026 cd build\ncmake .. -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake\ncmake --build .\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvansh626%2Fstockportfoliotracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvansh626%2Fstockportfoliotracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvansh626%2Fstockportfoliotracker/lists"}