{"id":26755618,"url":"https://github.com/gia-lexa/real-time-data-visualizer","last_synced_at":"2025-10-17T02:14:12.152Z","repository":{"id":280362033,"uuid":"872712824","full_name":"gia-lexa/real-time-data-visualizer","owner":"gia-lexa","description":"An opportunity to tinker with data viz, this Python app tracks live stock prices using the Yahoo Finance API and surfaces the price changes in real-time using  live-updating data visualizations. ","archived":false,"fork":false,"pushed_at":"2025-03-03T00:46:51.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-03T01:31:10.654Z","etag":null,"topics":["data-visualization","python"],"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/gia-lexa.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":"2024-10-15T00:02:13.000Z","updated_at":"2025-03-03T00:46:54.000Z","dependencies_parsed_at":"2025-03-03T01:31:19.842Z","dependency_job_id":"0d9a7ff2-4e61-4a3c-ba60-8dca238ff281","html_url":"https://github.com/gia-lexa/real-time-data-visualizer","commit_stats":null,"previous_names":["gia-lexa/real-time-data-visualizer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gia-lexa%2Freal-time-data-visualizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gia-lexa%2Freal-time-data-visualizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gia-lexa%2Freal-time-data-visualizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gia-lexa%2Freal-time-data-visualizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gia-lexa","download_url":"https://codeload.github.com/gia-lexa/real-time-data-visualizer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246046963,"owners_count":20715063,"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":["data-visualization","python"],"created_at":"2025-03-28T14:34:31.186Z","updated_at":"2025-10-17T02:14:07.091Z","avatar_url":"https://github.com/gia-lexa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# (WIP) Real-Time Stock Price Tracker\n\nReal-Time Stock Price Tracker is a Python-based application that tracks live stock prices using the Yahoo Finance API (yfinance) and visualizes the stock price movement in real-time using matplotlib. \nThis project demonstrates real-time data handling, API integration, and live-updating data visualizations. This is in a WIP state, which\ndemonstrates POC, but more complex iterations are on the way.\n\n### Key Features:\n- Fetches live stock prices using the yfinance library.\n- Displays a live-updating graph of stock price movements.\n- Updates every 5 seconds to reflect the most current stock data.\n- Easy-to-run Python script with minimal dependencies.\n\nThis project is designed to handle:\n\n- Real-time API integration and data processing.\n- Dynamic data visualization using matplotlib.\n- Handling live data with Python.\n\n\n#### Project Structure\n- tracker.py: The main Python script that fetches stock prices and displays the live-updating graph.\n- test_tracker.py: Unit tests for the core functionality, ensuring the API integration and graph update logic work as expected.\n\n#### Running the Tests\nTo run the tests, simply execute the following:\n```\npython3 -m unittest test_tracker.py\n```\nThe tests currently ensure that:\n\n- Stock prices are fetched correctly from the API.\n- The graph updates correctly without errors.\n- More to follow, these are in a WIP state\n\n#### Future Enhancements\n- Add more detailed stock information, such as volume, moving averages, and historical data.\n- Allow users to track multiple stocks simultaneously.\n- Implement a more advanced data visualization using plotly for interactive graphs.\n\n### Disclaimer\nThis project is an in-progress technical exploration of data visualization. While provided under the MIT License, it is not optimized for production use, and no guarantees are made regarding security, reliability, or real-world performance.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgia-lexa%2Freal-time-data-visualizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgia-lexa%2Freal-time-data-visualizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgia-lexa%2Freal-time-data-visualizer/lists"}