{"id":27624235,"url":"https://github.com/joyalmpaul/stock-sorter","last_synced_at":"2026-04-30T02:31:58.326Z","repository":{"id":288982891,"uuid":"969733796","full_name":"JoyalMPaul/Stock-Sorter","owner":"JoyalMPaul","description":"Finds best stocks and makes histograms based on profit/loss","archived":false,"fork":false,"pushed_at":"2025-04-22T21:36:54.000Z","size":64371,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-23T11:39:45.406Z","etag":null,"topics":["finnhub-api","json","matplotlib-python","pandas-python","statistic-modeling","yfinance-api"],"latest_commit_sha":null,"homepage":"","language":"Python","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/JoyalMPaul.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-20T20:14:11.000Z","updated_at":"2025-04-22T21:36:57.000Z","dependencies_parsed_at":"2025-04-23T11:42:53.260Z","dependency_job_id":null,"html_url":"https://github.com/JoyalMPaul/Stock-Sorter","commit_stats":null,"previous_names":["joyalmpaul/stock-api-sorter","joyalmpaul/stock-sorter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JoyalMPaul/Stock-Sorter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoyalMPaul%2FStock-Sorter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoyalMPaul%2FStock-Sorter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoyalMPaul%2FStock-Sorter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoyalMPaul%2FStock-Sorter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JoyalMPaul","download_url":"https://codeload.github.com/JoyalMPaul/Stock-Sorter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoyalMPaul%2FStock-Sorter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262704422,"owners_count":23351062,"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":["finnhub-api","json","matplotlib-python","pandas-python","statistic-modeling","yfinance-api"],"created_at":"2025-04-23T11:24:22.908Z","updated_at":"2026-04-30T02:31:58.232Z","avatar_url":"https://github.com/JoyalMPaul.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📈 Stock Sorter\n\n## Project Description\n\nThis is a stock sorter created using the Finnhub API, with the built-in webbrowser library utilized to display graphs for evaluating stock potential. A Pandas DataFrame was employed to generate an XLSX table, which can be imported as a CSV into Google Sheets. Additionally, histograms of profits and losses were created using the Matplotlib statistics library.\n\n***    \n\n## GUI Design\n\n![image](https://github.com/user-attachments/assets/64b0abee-f3e1-4b08-888d-e7563b69b555)\n\n\n### How to Use\n\n1. ***You must already have a Finnhub account and have an api key. If not, use: https://finnhub.io/register\n2. Open your preferred code editor and navigate down using `cd Stock API Sorter\\stocks` to enter directory\n3. Activate the virtual environment by running: `venv/scripts/activate` (If not working, use: `Unblock-File -Path \".\\venv\\Scripts\\Activate.ps1\"`)\n5. Install the required libraries by running: `pip install -r requirements.txt`\n6. Go into branch that contains code files using `cd code_files`\n7. Download \"https://marketplace.visualstudio.com/items/?itemName=GrapeCity.gc-excelviewer\" extension to see XLSX as CSV file\n8. Run Steps  \n   - Step 1: `py .\\Step_1-api.py` (Gets stock data)  \n   - Step 2: `py .\\Step_2-spreadsheets.py` (Puts data into chart)  \n   - Step 3: `py .\\Step_3-stocks.xlsx` (Makes xlsx file, **look at point 5 to view file**)  \n   - Step 4: `py .\\Step_4-data_chart.py` (Makes histogram of profits/loss)\n\n### Libraries Used\n\nFinnhub, Pandas, Openpyxl, Numpy, Matplotlib, Yfinance\n\n### Extra\n\nIf needed, go into range.txt under my_texts folder. The top number is the minimum and the bottom number is the maximum for the companies sorted through so far. I recommend keeping the values at most 60 apart or else the API call limit for Finhubb free tier will be reached, and a error code will be returned. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoyalmpaul%2Fstock-sorter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoyalmpaul%2Fstock-sorter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoyalmpaul%2Fstock-sorter/lists"}