File size: 2,618 Bytes
aa4db79 04d7596 aa4db79 04d7596 aa4db79 19552f8 aa4db79 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | ---
tags:
- time-series
- forecasting
- temporal
- trading
- btc-usd
- ensemble
library_name: temporal-forecasting
---
# Temporal Trading Model: BTC-USD (Ensemble Member 4/5: mean_reversion (lookback=60))
This is a pre-trained Temporal transformer model for time series forecasting of BTC-USD. This model is part of a consensus ensemble.
## Ensemble Context
This model is **member 4 of 5** in a consensus ensemble for BTC-USD (1d).
The ensemble uses 5 models with different lookback periods and focus strategies to generate diverse forecasts. These forecasts are then aggregated using multiple consensus strategies (gradient, confidence, timeframe, volatility, mean reversion, acceleration, swing, risk-adjusted) to produce robust trading signals.
### All Ensemble Members
1. [momentum (lookback=30)](../momentum_lookback30)
2. [balanced (lookback=60)](../balanced_lookback60)
3. [balanced (lookback=90)](../balanced_lookback90)
4. **mean_reversion** (lookback=60) - *This model*
5. [momentum (lookback=45)](../momentum_lookback45)
### How the Ensemble Works
1. Each member model generates independent forecasts using its specific lookback window and focus
2. Multiple consensus strategies analyze the ensemble's forecasts from different perspectives
3. Each strategy produces action recommendations (BUY/SELL/HOLD) with confidence scores
4. Final consensus aggregates all strategy recommendations into a unified trading signal
## Model Details
- **Symbol**: BTC-USD
- **Interval**: 1d
- **Lookback Window**: 60 periods
- **Forecast Horizon**: 7 periods
- **Focus**: mean_reversion
- **Training Date**: 2025-11-09 19:40 UTC
- **Training Epochs**: 15
- **Best Validation Loss**: 0.1757873147726059
## Training Dataset
- **Date Range**: N/A
- **Training Samples**: N/A
- **Lookback Period**: 60 1d intervals
## Model Architecture
- **Model Type**: Temporal Transformer
- **d_model**: 512
- **Encoder Layers**: None
- **Decoder Layers**: None
## Features
Input features used: 16 features
## Usage
```python
from strategies.model_cache import get_model_cache
# Import from HuggingFace
cache = get_model_cache()
model_path, scaler_path, metadata = cache.import_from_huggingface(
repo_id="YOUR_REPO_ID",
symbol="BTC-USD",
interval="1d",
lookback=60,
focus="mean_reversion",
forecast_horizon=7
)
```
## License
GPL-3.0-or-later
## Citation
```
@software{temporal_trading_model,
title = {Temporal Trading Model: BTC-USD (mean_reversion)},
author = {Unidatum Integrated Products LLC},
year = {2025},
url = {https://github.com/OptimalMatch/temporal-trading-agents}
}
```
|