Downloads · 30 days
14
4% of all-time downloads
maverick90024/btc-usd-consensus-1d
btc-usd-consensus-1d is a machine learning model from maverick90024. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for temporal-forecasting.
This repository contains a consensus ensemble of 5 temporal transformer models for BTC-USD price forecasting.
Downloads · 30 days
14
4% of all-time downloads
All-time downloads
370
Public
Repo size
2.8 GB
Likes
2
Public
Click a slice to open those files.
.bin1.1 GB · 100%
From the Hugging Face model README
This repository contains a consensus ensemble of 5 temporal transformer models for BTC-USD price forecasting.
Instead of relying on a single model, this ensemble combines multiple models with different characteristics to produce robust, diverse forecasts. Each model specializes in different market patterns:
Each model generates independent 7-period forecasts using its specific lookback window and focus strategy.
Eight different consensus strategies analyze the ensemble's forecasts:
All strategy recommendations are aggregated into a final consensus signal with:
from strategies.model_cache import get_model_cache
cache = get_model_cache()
# Import a specific ensemble member
model_path, scaler_path, metadata = cache.import_from_huggingface(
repo_id="maverick90024/btc-usd-consensus-1d",
symbol="BTC-USD",
interval="1d",
lookback=30, # Choose appropriate lookback
focus="momentum", # Choose appropriate focus
forecast_horizon=7,
path_in_repo="momentum_lookback30" # Specify subdirectory
)
from backend.main import run_consensus_analysis_worker
from backend.database import Database
async def run_analysis():
db = Database()
await db.connect()
result = await run_consensus_analysis_worker(
symbol="BTC-USD",
horizons=[7],
interval="1d",
analysis_id="my-analysis",
db=db
)
print(f"Consensus: {result['consensus']}")
print(f"Action: {result['action']}")
print(f"Confidence: {result['confidence']}")
GPL-3.0-or-later
@software{temporal_trading_ensemble,
title = {BTC-USD Consensus Ensemble},
author = {Unidatum Integrated Products LLC},
year = {2025},
url = {https://github.com/OptimalMatch/temporal-trading-agents}
}