{"id":25972036,"url":"https://github.com/adalbertobrant/t5index","last_synced_at":"2026-04-16T10:31:20.232Z","repository":{"id":280619168,"uuid":"942581396","full_name":"adalbertobrant/T5Index","owner":"adalbertobrant","description":"T5index is an index with bitcoin , ethereum , solana, cardano(ada) and ripple(xrp) , according to some news in the media the USA is making in the future a US crypto reserve with this crytocoins.","archived":false,"fork":false,"pushed_at":"2025-03-04T11:55:09.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T12:22:31.762Z","etag":null,"topics":["bitcoin","cardano","ethereum","google-colab","matplotlib","pandas","python3","ripple","solana"],"latest_commit_sha":null,"homepage":"https://t5index.streamlit.app/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adalbertobrant.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":"2025-03-04T10:31:36.000Z","updated_at":"2025-03-04T11:58:15.000Z","dependencies_parsed_at":"2025-03-04T12:22:33.713Z","dependency_job_id":"b321041c-724b-4d32-aff2-0d7ac6cb36a7","html_url":"https://github.com/adalbertobrant/T5Index","commit_stats":null,"previous_names":["adalbertobrant/t5index"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adalbertobrant%2FT5Index","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adalbertobrant%2FT5Index/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adalbertobrant%2FT5Index/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adalbertobrant%2FT5Index/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adalbertobrant","download_url":"https://codeload.github.com/adalbertobrant/T5Index/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241940760,"owners_count":20045930,"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":["bitcoin","cardano","ethereum","google-colab","matplotlib","pandas","python3","ripple","solana"],"created_at":"2025-03-05T00:18:45.292Z","updated_at":"2026-04-16T10:31:20.199Z","avatar_url":"https://github.com/adalbertobrant.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📊 T5 Index\n\nThis Python project uses the `yfinance` library to download historical data for cryptocurrencies BTC, ETH, XRP, SOL, and ADA, calculating a weighted index and displaying a chart 📈.\n\n## 🚀 Virtual Environment Setup\n\nTo avoid conflicts between libraries, it is recommended to create a virtual environment. Run:\n\n```sh\npython3 -m venv crypto\nsource crypto/bin/activate  # Linux/macOS\ncrypto\\Scripts\\activate    # Windows\n```\n\n## 📦 Installing Dependencies\n\nAll necessary libraries are listed in the `requirements.txt` file. After activating the virtual environment, install the dependencies:\n\n```sh\npip install -r requirements.txt\n```\n\n## 🛠️ Possible Issues\n\nDue to library updates, the program may not run correctly. To ensure compatibility, it is recommended to install Jupyter Notebook and run the code inside it:\n\n```sh\npip install jupyter\njupyter notebook\n```\n\n## 📜 Main Code\n\nThe script performs the following tasks:\n\n- 📥 Downloads historical data for Bitcoin (BTC), Ethereum (ETH), Ripple (XRP), Solana (SOL), and Cardano (ADA) using `yfinance`\n- 🔢 Applies different weights to each cryptocurrency and calculates a custom index\n- 📊 Generates a chart of the index over time\n\n## ⏳ Start and End Parameters in yf.download()\n\nIn the yf.download() function, the start and end parameters define the date range for fetching historical data. Future versions of the program can modify these values to analyze different time periods. For example:\n```sh\nBTC = yf.download(\"BTC-USD\", start=\"2023-01-01\", end=\"2024-01-01\", period=\"1d\")\n```\nA developer can adjust the start and end dates to focus on different periods of interest, whether for long-term trends or short-term analysis.\n\n## 📈 Example of the Generated Chart\n\nThe final chart displays the evolution of the calculated index based on the closing prices of the selected cryptocurrencies.\n\n## 🤝 Contribution\n\nFeel free to suggest improvements or report issues via issues or pull requests!\n\n## 📜 License\n\nThis project is under the The Unlicense. Feel free to use and modify it.\n\nHappy coding! 🚀💻\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadalbertobrant%2Ft5index","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadalbertobrant%2Ft5index","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadalbertobrant%2Ft5index/lists"}