Loading
Loading

Neuron registration trends
Building realistic training datasets for market microstructure models requires either access to expensive exchange data or synthetic data from oversimplified generators. Existing approaches lack the diversity of market conditions and agent behaviors needed to train models that generalize to real trading. Additionally, training AI models across distributed contributors without trusted infrastructure requires coordination, security, and fair scoring that most teams cannot implement themselves.
A decentralized network can solve this by combining agent-based simulation with collaborative model training. Distributed agents compete in a shared simulated market, generating realistic L3 order-book data as a side effect of their trading. Simultaneously, those agents can train a shared model on the data they generate, uploading compressed gradients to personal buckets while validators score contributions fairly and publish the best updates on-chain. This creates both a high-quality dataset and a trained model in one operation, with incentives that reward both trading performance and gradient quality.
MVTRX (SN-79) implements this on Bittensor. Miners run automated trading strategies against a C++ limit-order-book simulator with background agents. Validators score trading performance (Kappa-3 and PnL) across multiple order-book realizations. Miners can optionally enable GenTRX: each round, the agent trains a ~12M-parameter transformer on its assigned slice of order-book data, uploads the compressed gradient to S3, and validators score it against held-out books. The best gradient updates the canonical checkpoint published on-chain. Rewards split ~95% trading / ~5% training by default, with the training pool scaling to active participation.
Use cases were auto-generated from the GitHub repository and may not reflect the latest changes.
MVTRX (SN-79) is a Bittensor subnet that combines agent-based market simulation (τaos) with distributed AI model training (GenTRX). Miners act as automated trading agents in a C++ limit-order-book simulation, competing to maximize risk-adjusted performance (Kappa-3 ratio) across multiple simulated order books. Optionally, miners can also participate in GenTRX, which trains a shared ~12M-parameter transformer model on simulation order-book data: each round, miners compute and upload compressed gradients to personal S3 buckets; validators score these against held-out data and publish the best checkpoint on-chain.
Rewards are split ~95% trading / ~5% training by default, with the training allocation scaling with active participation.
The subnet has three main components. (1) A C++ agent-based simulator (taosim) manages order books and background agents, pausing between ticks to receive miner instructions. (2) The Python validator acts as a proxy: it receives simulator state, forwards it to miners via Bittensor dendrite, submits miner responses back to the simulator, computes trading scores, and optionally runs a GenTRX gradient server sidecar. (3) Miners run trading agents that respond to state updates with order instructions; GenTRX-enabled miners additionally train the shared transformer model each round in a background thread and upload compressed gradients to personal S3 buckets. For GenTRX: validators run a gradient server process that ingests simulation ticks, flushes parquet training data to an S3 bucket, fetches miner gradients from per-miner buckets (discovered via on-chain commitments), double-scores them, and publishes aggregation proposals. The canonical aggregator (uid 0) evaluates all validator proposals and publishes the winning checkpoint.
Building a SOTA Exchange for dTAO and Beyond
This information was auto-extracted from the GitHub repository and may be incomplete or out of date. Always refer to the subnet's GitHub repository for the latest instructions.
Sibling validators and miners discover buckets and checkpoints via Bittensor chain commitments with no manual coordination.
The trading pool scores miners using an intraday Kappa-3 ratio and requires a minimum cumulative round-trip volume to receive full allocation. Scores use a rolling window not cleared between simulations. The GenTRX training pool scores gradient quality each round: validators double-score each gradient against the miner's assigned data (own-data score) and held-out validation books (held-out score), apply an overfit penalty when own-data loss significantly exceeds held-out loss, and rank-normalize with per-UID EMA.
Accepted gradients are locally aggregated into a proposal; the canonical aggregator (uid 0) evaluates all validator proposals and applies the best-scoring delta to the shared checkpoint. The training pool allocation scales with active miner participation (N_active / N_registered_miners) and returns unused allocation to the trading pool. The split ratio is controlled by --scoring.gentrx.simulation_share on the validator.
The sections above were auto-generated from the GitHub repository and may not reflect the latest changes. View repository
Powered by TAOS Matrix of Simulations Sandbox
FAQs were auto-generated from the GitHub repository and may not reflect the latest changes.
Holder & total-staked metrics as of 1h ago (hourly snapshot)
GPU (NVIDIA, 8GB+ VRAM) is recommended for GenTRX distributed training but not required for base trading. CPU-only training is supported but may miss round deadlines. GenTRX requires an S3-compatible bucket (Cloudflare R2, Storj, or Hippius).
Requires g++-14 and cmake 3.29.7 to build the C++ simulator. GPU is optional but strongly recommended for the GenTRX gradient server sidecar; CPU scoring is significantly slower. GenTRX requires an S3-compatible bucket (Cloudflare R2, Storj, or Hippius).
Install system dependencies
sudo apt update && sudo apt install -y tmux build-essential git curl ca-certificates
Install uv Python toolchain manager
curl -LsSf https://astral.sh/uv/install.sh | sh && source ~/.bashrc
Clone the repository
git clone https://github.com/taos-im/sn-79 && cd sn-79
Run the miner install script to set up pm2, tmux, pyenv, Python 3.10.9, and the taos package
./install_miner.sh
Install core Python dependencies
pip install -e .
Install GenTRX optional training dependencies (boto3, transformers, polars, etc.)(optional)
pip install -e ".[gentrx]"
Create Bittensor wallet (coldkey and hotkey)
btcli wallet new_coldkey --wallet.name <coldkey> && btcli wallet new_hotkey --wallet.name <coldkey> --wallet.hotkey <hotkey>
Register hotkey on subnet 79
btcli subnet register --netuid 79 --wallet.name <coldkey> --wallet.hotkey <hotkey>
Configure environment variables including S3 bucket credentials for GenTRX(optional)
cp .env.example .env && $EDITOR .env
Run the miner (standard trading only)
./run_miner.sh -w <coldkey> -h <hotkey> -u 79 -a 8091
Run the miner with GenTRX distributed training enabled (prompts for S3 bucket credentials on first run)(optional)
./run_miner.sh -G -w <coldkey> -h <hotkey> -u 79 -a 8091
Install system dependencies
sudo apt update && sudo apt install -y tmux build-essential git curl ca-certificates
Clone the repository
git clone https://github.com/taos-im/sn-79 && cd sn-79
Run the validator install script (installs pm2, tmux, pyenv, Python 3.10.9, taos, vcpkg, g++-14, cmake 3.29.7, and builds the C++ simulator). Takes 1-2 hours on Ubuntu 22.04.
./install_validator.sh
Install core Python dependencies
pip install -e .
Install GenTRX optional training dependencies for the gradient server(optional)
pip install -e ".[gentrx]"
Create Bittensor wallet
btcli wallet new_coldkey --wallet.name <coldkey> && btcli wallet new_hotkey --wallet.name <coldkey> --wallet.hotkey <hotkey>
Register hotkey on subnet 79
btcli subnet register --netuid 79 --wallet.name <coldkey> --wallet.hotkey <hotkey>
Configure environment variables including S3 bucket credentials for GenTRX(optional)
cp .env.example .env && $EDITOR .env
Run the validator (standard trading scoring only)
./run_validator.sh -w taos -h validator -u 79
Run the validator with GenTRX distributed training enabled (prompts for S3 credentials and auto-starts gradient server on first run)(optional)
./run_validator.sh -G -w taos -h validator -u 79