{"id":13706053,"url":"https://github.com/taoshidev/time-series-prediction-subnet","last_synced_at":"2026-02-04T19:33:21.553Z","repository":{"id":200042315,"uuid":"688711238","full_name":"taoshidev/time-series-prediction-subnet","owner":"taoshidev","description":"Prediction subnet built on Bittensor","archived":false,"fork":false,"pushed_at":"2024-03-22T23:51:41.000Z","size":15434,"stargazers_count":62,"open_issues_count":5,"forks_count":22,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-05-05T19:44:40.963Z","etag":null,"topics":["ai","blockchain","cryptocurrency","deep-learning","machine-learning"],"latest_commit_sha":null,"homepage":"https://taoshi.io","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/taoshidev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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-09-08T00:12:11.000Z","updated_at":"2025-02-21T07:30:34.000Z","dependencies_parsed_at":"2023-10-26T19:38:57.918Z","dependency_job_id":"3a4db5c4-8720-4324-8862-af3032dc9531","html_url":"https://github.com/taoshidev/time-series-prediction-subnet","commit_stats":null,"previous_names":["taoshidev/time-series-prediction-subnet"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/taoshidev/time-series-prediction-subnet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taoshidev%2Ftime-series-prediction-subnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taoshidev%2Ftime-series-prediction-subnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taoshidev%2Ftime-series-prediction-subnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taoshidev%2Ftime-series-prediction-subnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taoshidev","download_url":"https://codeload.github.com/taoshidev/time-series-prediction-subnet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taoshidev%2Ftime-series-prediction-subnet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29094144,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T19:16:55.479Z","status":"ssl_error","status_checked_at":"2026-02-04T19:16:52.508Z","response_time":62,"last_error":"SSL_read: 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":["ai","blockchain","cryptocurrency","deep-learning","machine-learning"],"created_at":"2024-08-02T22:00:51.684Z","updated_at":"2026-02-04T19:33:21.537Z","avatar_url":"https://github.com/taoshidev.png","language":"Python","funding_links":[],"categories":["Registered Subnets"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://taoshi.io\"\u003e\n      \u003cimg width=\"500\" alt=\"taoshi - subnet 8 repo logo\" src=\"https://i.imgur.com/deBxDUm.png\"\u003e\n    \u003c/a\u003e\n    \n\u003c/p\u003e\n\n\u003cdiv align='center'\u003e\n\n[![Discord Chat](https://img.shields.io/discord/308323056592486420.svg)](https://discord.com/channels/799672011265015819/1162384774170677318)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://taoshi.io\"\u003eWebsite\u003c/a\u003e\n  ·\n  \u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e\n  ·  \n  \u003ca href=\"https://dashboard.taoshi.io/\"\u003eDashboard\u003c/a\u003e\n  ·\n  \u003ca href=\"https://twitter.com/taoshiio\"\u003eTwitter\u003c/a\u003e\n    ·\n  \u003ca href=\"https://twitter.com/taoshiio\"\u003eBittensor\u003c/a\u003e\n    ·\n  \u003ca href='https://huggingface.co/Taoshi'\u003eHugging Face\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n\u003cdetails\u003e\n  \u003csummary\u003eTable of contents\u003c/summary\u003e\n  \u003col\u003e\n    \u003cli\u003e\n      \u003ca href=\"#bittensor\"\u003eWhat is Bittensor?\u003c/a\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#prediction-subnet\"\u003ePrediction Subnet\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#features\"\u003eFeatures\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\n      \u003ca href=\"#get-started\"\u003eGet Started\u003c/a\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#building-a-model\"\u003eBuilding A Model\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#testing\"\u003eTesting\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#faq\"\u003eFAQ\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contributing\"\u003eContributing\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\u003c/li\u003e\n  \u003c/ol\u003e\n\u003c/details\u003e\n\n---\n\n\u003cdetails id='bittensor'\u003e\n  \u003csummary\u003eWhat is Bittensor?\u003c/summary\u003e\n\nBittensor is a mining network, similar to Bitcoin, that includes built-in incentives designed to encourage computers to provide access to machine learning models in an efficient and censorship-resistant manner. Bittensor is comprised of Subnets, Miners, and Validators.\n\n\u003e Explain Like I'm Five\n\nBittensor is an API that connects machine learning models and incentivizes correctness through the power of the blockchain.\n\n### Subnets\n\nSubnets are decentralized networks of machines that collaborate to train and serve machine learning models.\n\n### Miners\n\nMiners run machine learning models. They fulfill requests from the Validators.\n\n### Validators\n\nValidators query and prompt the Miners. Validators also validate miner requests. Validators are also storefronts for data.\n\n\u003c/details\u003e\n\n---\n\n# Prediction Subnet\n\nThis repository contains the code for the Time-Series Prediction Subnet (TSPS) developed by Taoshi.\n\nInitially, the primary focus of TSPS is to forecast the future trends of financial markets, starting with predicting the price movements of Bitcoin. Eventually, TSPS will expand to include a broader range of cryptocurrency trading pairs. Subsequently, our scope will broaden to encompass additional financial markets.\n\nAs the project evolves, we anticipate that miners will diversify their focus, specializing in different subjects or domains. Some may concentrate on specific areas, while others, particularly those with advanced skills, tackle multiple topics, such as sports betting or various client-requested issues.\n\n## Features\n\n🛠️\u0026nbsp;[Open Source Modeling](https://huggingface.co/Taoshi)\u003cbr\u003e\n🫰\u0026nbsp;Intraday Bitcoin Predictions\u003cbr\u003e\n📈\u0026nbsp;Higher Payouts\u003cbr\u003e\n📉\u0026nbsp;Lower Registration Fees\u003cbr\u003e\n💪\u0026nbsp;Superior Cryptocurrency Infrastructure\u003cbr\u003e\n⚡\u0026nbsp;Faster Payouts\u003cbr\u003e\n\n# Get Started\n\n### Validator Installation\n\nPlease see our [Validator Installation](https://github.com/taoshidev/time-series-prediction-subnet/blob/main/docs/validator.md) guide.\n\n### Miner Installation\n\nPlease see our [Miner Installation](https://github.com/taoshidev/time-series-prediction-subnet/blob/main/docs/miner.md) guide.\n\n# Building a model\n\nYou can build a model on your own, use the infrastructure inside this repo or try one of our open source models listed on our [Hugging Face](https://huggingface.co/Taoshi).\n\nIf you choose to use the infrastructure provided in here, you can choose to leverage standardized financial market indicators provided in `mining_objects/financial_market_indicators.py` as well as a standardized LSTM model in `mining_objects/base_mining_model.py`.\n\nYou can generate a historical Bitcoin dataset using the script\n`runnable/generate_historical_data.py` and choose the timeframe you'd like to generate for using the comments provided inside the script.\n\nWe've provided a basis for creating and testing models using `runnable/miner_testing.py` and `runnable/miner_training.py`\n\nPlease note that we are constantly adjusting these scripts and will make improvements over time.\n\n# FAQ\n\n\u003cdetails\u003e\n  \u003csummary\u003eHow does rewarding work?\u003c/summary\u003e\n  \u003cbr\u003e\n  \u003cp\u003e\n    Miners are rewarded based on predicting future information or live data as we classify it in the subnet. The network will also provide training data on the various datasets (trade pairs for financial market data) to increase miner accuracy. However, rewarding occurs on data that has yet to happen or what the subnet defines as live data. Once the future data is known, we compare it against the predictions made and reward based on performance.\n  \u003c/p\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eWhat processing power is required to be a validator?\u003c/summary\u003e\n  \u003cbr\u003e\n  \u003cp\u003e\n    To be a validator, you must have a server running in the EU (recommend Ireland, UK). This server can be through a VPN or a cloud-based server. Not all financial data can be accessed inside the US (for crypto). The actual processing power is light, as validators only compare results against what occurs live; therefore, a relatively small machine can be a validator.\n  \u003c/p\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eWhat is the expected data input and output as a miner?\u003c/summary\u003e\n  \u003cbr\u003e\n  \u003cp\u003e\nFor financial markets, the goal will be to predict the next 8 hours of closes on a 5m interval (100 closes).\nAt a minimum, you should be using OHLCV. You should consider using additional data sources in order to be competitive.\n    \n    Target Feature: [close]\n  \u003c/p\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eCan I be a miner with little knowledge?\u003c/summary\u003e\n  \u003cbr\u003e\n  \u003cp\u003e\n    Predicting on markets is very hard, but we want to help those who want to contribute to the network by providing models that can be used. These models can be used to build upon, or just run yourself to try and compete.\n\n    You can participate by running these pre-built \u0026 pre-trained models provided to all miners [here](https://huggingface.co/Taoshi/model_v4).\n\n    These model are already built into the core logic of `neurons/miner.py` for you to run and compete as a miner. All you need to do is run `neurons/miner.py` and specify the model you want to run as an argument through --base_model:\n    --base_model model_v4_1\n\n  \u003c/p\u003e\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eI'm knowledgeable about creating a competing prediction model on my own. Can I prepare my miner to compete?\u003c/summary\u003e\n  \u003cbr\u003e\n  \u003cp\u003e\nYou can start using the hugging face models to prepare for release or from scratch and test on testnet (netuid 3). You can use the training data provided by the subnet or prepare separately using your training data (say on BTC to start).\n  \u003c/p\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eWhere can I begin testing?\u003c/summary\u003e\n  \u003cbr\u003e\n  \u003cp\u003e\n    You can begin testing on testnet netuid 3. You can follow the\n    `docs/running_on_testnet.md` file inside the repo to run on testnet.\n  \u003c/p\u003e\n\u003c/details\u003e\n\n---\n\n# Contributing\n\nFor instructions on how to contribute to Taoshi, see CONTRIBUTING.md.\n\n# License\n\nCopyright © 2023 Taoshi Inc\n\n```text\nTaoshi All rights reserved.\nSource code produced by Taoshi Inc may not be reproduced, modified, or distributed\nwithout the express permission of Taoshi Inc.\n```\n\nBittensor source code in this repository is licensed under the MIT License.\n\n```text\nThe MIT License (MIT)\nCopyright © 2023 Yuma Rao\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated\ndocumentation files (the “Software”), to deal in the Software without restriction, including without limitation\nthe rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,\nand to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of\nthe Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO\nTHE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\nTHE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\nDEALINGS IN THE SOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaoshidev%2Ftime-series-prediction-subnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaoshidev%2Ftime-series-prediction-subnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaoshidev%2Ftime-series-prediction-subnet/lists"}