{"id":35268971,"url":"https://github.com/sairupeshl/apogee","last_synced_at":"2026-04-07T23:31:23.306Z","repository":{"id":327840442,"uuid":"1110995052","full_name":"sairupeshl/apogee","owner":"sairupeshl","description":"A real-time cryptocurrency trading simulation built with Flask, SQLite, and the Binance API. Features session-based authentication and atomic database transactions.","archived":false,"fork":false,"pushed_at":"2025-12-06T07:03:57.000Z","size":76,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-09T21:14:19.328Z","etag":null,"topics":["binance-api","bootstrap","cryptocurrency","finance","flask","html","jinja","python","sqlite"],"latest_commit_sha":null,"homepage":"https://sairupeshl.pythonanywhere.com/","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/sairupeshl.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-06T04:07:23.000Z","updated_at":"2025-12-06T07:10:38.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/sairupeshl/apogee","commit_stats":null,"previous_names":["sairupeshl/apogee"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/sairupeshl/apogee","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sairupeshl%2Fapogee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sairupeshl%2Fapogee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sairupeshl%2Fapogee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sairupeshl%2Fapogee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sairupeshl","download_url":"https://codeload.github.com/sairupeshl/apogee/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sairupeshl%2Fapogee/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31533823,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["binance-api","bootstrap","cryptocurrency","finance","flask","html","jinja","python","sqlite"],"created_at":"2025-12-30T11:49:38.210Z","updated_at":"2026-04-07T23:31:23.301Z","avatar_url":"https://github.com/sairupeshl.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Apogee: Virtual Crypto Trading Platform\n\nA web-based trading simulator that allows users to buy and sell cryptocurrencies in real-time using play money. The application queries live market data from the Binance API and manages user portfolios using a relational database. This project is hosted on PythonAnywhere.\n\nTry it out here: https://sairupeshl.pythonanywhere.com/\n\n## 🚀 Features\n* **Real-time Quotes:** Fetches live prices for ETH, BTC, and other crypto assets via Binance.\n* **Portfolio Management:** Tracks cash balance, holdings, and calculates the Grand Total dynamically.\n* **Transaction History:** Detailed log of all buy/sell orders with timestamps.\n* **Secure Authentication:** Session-based login with password hashing (`werkzeug.security`).\n* **Interactive Charts:** Integrated TradingView widgets for symbol visualization.\n\n## 🛠️ Tech Stack\n* **Backend:** Python (Flask), SQLite\n* **Frontend:** HTML5, Jinja2, Bootstrap (Bootswatch)\n* **Data Source:** Binance Public API\n\n## 📂 Project Structure\n* `app.py`: Main application controller and route definitions.\n* `helpers.py`: Utility functions for API requests and currency formatting.\n* `finance.db`: SQLite database (schema provided in `schema.sql`).\n* `templates/`: Jinja2 HTML templates.\n\n## ⚡ How to Run\n1.  **Clone the repository**\n    ```bash\n    git clone [https://github.com/sairupeshl/apogee](https://github.com/sairupeshl/apogee)\n    cd apogee\n    ```\n\n2.  **Install Dependencies**\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n3.  **Initialize Database**\n    ```bash\n    python init_db.py\n    ```\n\n4.  **Run the Application**\n    ```bash\n    flask run\n    ```\n## Acknowledgements\n\nThis project was inspired by **Finance** from Problem Set 9 of CS50x: Introduction to Computer Science course (Harvard University).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsairupeshl%2Fapogee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsairupeshl%2Fapogee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsairupeshl%2Fapogee/lists"}