{"id":21082361,"url":"https://github.com/ryantusi/stocksavvy","last_synced_at":"2026-05-10T10:22:19.410Z","repository":{"id":213704137,"uuid":"734729766","full_name":"ryantusi/StockSavvy","owner":"ryantusi","description":"📈 StockSavvy, your streamlined Python and Flask-based web app for stock trading and finance management. StockSavvy allows users to easily create an account, manage their portfolio, and trade stocks with intuitive features.","archived":false,"fork":false,"pushed_at":"2023-12-23T06:42:33.000Z","size":2191,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T23:46:22.268Z","etag":null,"topics":["database","finance","flask","python","stock-trading","stocks-api"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ryantusi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2023-12-22T13:04:28.000Z","updated_at":"2023-12-23T06:45:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"5c1da28b-3aa3-45e5-bfc9-aacd7bbc6f04","html_url":"https://github.com/ryantusi/StockSavvy","commit_stats":null,"previous_names":["ryantusi/stocksavvy"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryantusi%2FStockSavvy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryantusi%2FStockSavvy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryantusi%2FStockSavvy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryantusi%2FStockSavvy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryantusi","download_url":"https://codeload.github.com/ryantusi/StockSavvy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243526853,"owners_count":20305112,"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":["database","finance","flask","python","stock-trading","stocks-api"],"created_at":"2024-11-19T20:13:50.855Z","updated_at":"2026-05-10T10:22:14.369Z","avatar_url":"https://github.com/ryantusi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StockSavvy 💹\n\n**StockSavvy: Streamlined Stock Trading and Finance** \n\nWelcome to StockSavvy, your streamlined Python and Flask-based web app for stock trading and finance management.\n\n## Overview\nStockSavvy allows users to easily create an account, manage their portfolio, and trade stocks with intuitive features. \n\n## Features 🚀\n- **Account Management**: Users can create accounts or log in securely.\n- **Portfolio Overview**: View the current valuation of owned stocks alongside the cash balance.\n- **Stock Quoting**: Easily search for stock prices using symbols via an intuitive API request.\n- **Buying and Selling**: Seamlessly execute stock trades - buy or sell stocks effortlessly.\n- **Transaction History**: Keep track of all transactions, displaying date, time, and price at that moment.\n- **Error Handling**: Ensures a smooth experience by handling various errors:\n  - Wrong stock symbols\n  - Buying more stocks than the cash balance\n  - Selling stocks in excess of what's owned\n  - Incorrect login credentials\n  - Registration with an existing username\n\n## Folder Structure\n- 📁 `static`: Contains icons and CSS file\n- 📁 `templates`: HTML files for different pages\n   - `apology.html`: Error handling\n   - `buy.html`: Stock buying page\n   - `history.html`: Transaction history page\n   - `layout.html`: Main home page\n   - `login.html`: User login page\n   - `quote.html`: Stock quote page\n   - `quoted.html`: Display stock price after search\n   - `register.html`: User registration page\n   - `sell.html`: Stock selling page\n- 📄 `app.py`: Flask app with sessions and routes\n   - Uses session and database\n   - Contains routes for HTML templates\n- 📄 `finance.db`: Main database with tables for users, transactions, and portfolios\n- 📄 `helpers.py`: Python module with functions and decorators\n   - `apology()`, `login_required()`, `lookup()`, `usd()`\n\n## Requirements\n- CS50\n- Flask\n- Flask_Session\n- Requests\n- Urllib\n- UUID\n- Pytz\n- Functools\n- CSV\n- Datetime\n- Werkzeug.security\n\n## Technology Used\n`Python` `Flask` `HTML` `CSS` `Bootstrap` `SQLite3` `API`\n\n## Screenshots\n![Overview](screenshots/StockSavvy.gif)\n\n*Overview: Visual representation of the stock trading web app.*\n\n![Database](screenshots/database.png)\n*Database: Track all past transactions, users, and portfolios with date, time, and prices.*\n\n## Usage\n1. Clone the repository.\n2. Install required dependencies: `pip install cs50 Flask Flask_Session requests pytz`\n3. Execute `flask run`.\n4. Access the app through the provided localhost URL.\n\nFeel free to contribute and enhance StockSavvy! 🚀📈💼\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryantusi%2Fstocksavvy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryantusi%2Fstocksavvy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryantusi%2Fstocksavvy/lists"}