Add professional model card for Nexus Shadow-Quant
Browse files
README.md
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
tags:
|
| 4 |
+
- finance
|
| 5 |
+
- trading
|
| 6 |
+
- bitcoin
|
| 7 |
+
- cryptocurrency
|
| 8 |
+
- quantitative-analysis
|
| 9 |
+
- ensemble
|
| 10 |
+
- xgboost
|
| 11 |
+
- pytorch
|
| 12 |
+
- transformer
|
| 13 |
+
- lstm
|
| 14 |
+
- time-series
|
| 15 |
+
- forecasting
|
| 16 |
+
language:
|
| 17 |
+
- en
|
| 18 |
+
pipeline_tag: tabular-classification
|
| 19 |
+
library_name: pytorch
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
<div align="center">
|
| 23 |
+
|
| 24 |
+
# ๐ฎ Nexus Shadow-Quant โ Trained Models
|
| 25 |
+
|
| 26 |
+
### Institutional-Grade Crypto Intelligence Engine
|
| 27 |
+
|
| 28 |
+
[](https://github.com/lukeedIII/Predictor)
|
| 29 |
+
[]()
|
| 30 |
+
[]()
|
| 31 |
+
|
| 32 |
+
</div>
|
| 33 |
+
|
| 34 |
+
---
|
| 35 |
+
|
| 36 |
+
## ๐ Overview
|
| 37 |
+
|
| 38 |
+
This repository contains the **pre-trained model artifacts** for [Nexus Shadow-Quant](https://github.com/lukeedIII/Predictor) โ a 16-model ensemble engine for BTC/USDT directional forecasting.
|
| 39 |
+
|
| 40 |
+
**Why this exists:** Training the full model stack from scratch takes ~6 hours on a modern GPU. By hosting the trained weights here, new installations can pull them instantly and skip the initial training phase entirely.
|
| 41 |
+
|
| 42 |
+
---
|
| 43 |
+
|
| 44 |
+
## ๐๏ธ Model Architecture
|
| 45 |
+
|
| 46 |
+
| Model | Type | Parameters | Purpose |
|
| 47 |
+
|:---|:---|:---|:---|
|
| 48 |
+
| `predictor_v3.joblib` | XGBoost Ensemble | ~500 trees | Primary directional classifier |
|
| 49 |
+
| `nexus_lstm_v3.pth` | Bi-LSTM | ~2M | Sequence pattern recognition |
|
| 50 |
+
| `nexus_transformer_v2.pth` | Transformer | ~152M | Long-range dependency modeling |
|
| 51 |
+
| `feature_scaler_v3.pkl` | StandardScaler | โ | Feature normalization state |
|
| 52 |
+
|
| 53 |
+
### Supporting Models (16-Model Quant Panel)
|
| 54 |
+
- **GARCH(1,1)** โ Volatility regime detection
|
| 55 |
+
- **MF-DFA** โ Multi-fractal detrended fluctuation analysis
|
| 56 |
+
- **TDA** โ Topological Data Analysis (persistent homology)
|
| 57 |
+
- **Bates SVJ** โ Stochastic volatility with jumps
|
| 58 |
+
- **HMM (3-state)** โ Hidden Markov Model for regime classification
|
| 59 |
+
- **RQA** โ Recurrence Quantification Analysis
|
| 60 |
+
- + 10 more statistical models
|
| 61 |
+
|
| 62 |
+
---
|
| 63 |
+
|
| 64 |
+
## ๐ Performance (Audited)
|
| 65 |
+
|
| 66 |
+
| Metric | Value |
|
| 67 |
+
|:---|:---|
|
| 68 |
+
| **Audit Size** | 105,031 predictions on 3.15M candles |
|
| 69 |
+
| **Accuracy** | 50.71% (statistically significant above 50%) |
|
| 70 |
+
| **Sharpe Ratio** | 0.88 (annualized, fee-adjusted) |
|
| 71 |
+
| **Prediction Horizon** | 15 minutes |
|
| 72 |
+
| **Features** | 42 scale-invariant (returns/ratios/z-scores) |
|
| 73 |
+
| **Fee Model** | Binance taker 0.04% + slippage 0.01% |
|
| 74 |
+
|
| 75 |
+
---
|
| 76 |
+
|
| 77 |
+
## โก Quick Start
|
| 78 |
+
|
| 79 |
+
### Automatic (Recommended)
|
| 80 |
+
The Nexus Shadow-Quant app will **auto-pull** these models on first startup if no local models are found. Simply:
|
| 81 |
+
1. Set your `HUGGINGFACE_TOKEN` and `HF_REPO_ID` in Settings.
|
| 82 |
+
2. Restart the backend.
|
| 83 |
+
3. Models are downloaded and the predictor is ready instantly.
|
| 84 |
+
|
| 85 |
+
### Manual
|
| 86 |
+
```bash
|
| 87 |
+
pip install huggingface_hub
|
| 88 |
+
huggingface-cli download Lukeexus/Predictor-Models --local-dir ./models
|
| 89 |
+
```
|
| 90 |
+
|
| 91 |
+
---
|
| 92 |
+
|
| 93 |
+
## ๐ Sync Protocol
|
| 94 |
+
|
| 95 |
+
| Action | What happens |
|
| 96 |
+
|:---|:---|
|
| 97 |
+
| **Push to Hub** | Uploads all files from `models/` folder to this repo |
|
| 98 |
+
| **Pull from Hub** | Downloads latest weights, re-initializes the predictor |
|
| 99 |
+
| **Auto-Pull** | On startup, if no local models found, pulls automatically |
|
| 100 |
+
|
| 101 |
+
---
|
| 102 |
+
|
| 103 |
+
## โ ๏ธ Disclaimer
|
| 104 |
+
|
| 105 |
+
These models are trained on historical BTC/USDT data and are provided for **educational and research purposes only**. They are not financial advice. Cryptocurrency markets are volatile. Past performance does not guarantee future results.
|
| 106 |
+
|
| 107 |
+
---
|
| 108 |
+
|
| 109 |
+
<div align="center">
|
| 110 |
+
|
| 111 |
+
**Dr. Nexus** ยท *Quantitative intelligence, engineered locally.*
|
| 112 |
+
|
| 113 |
+
</div>
|