Downloads · 30 days
0
keeprich/oanda-trading-models
oanda-trading-models is a machine learning model from keeprich. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
Multi-model classification pipeline predicting BUY / HOLD / SELL signals for major forex pairs using 10 years of H1 candle data.
Downloads · 30 days
0
Access
Public
Updated Jul 11, 2026
Repo size
80.2 MB
Likes
0
Public
Click a slice to open those files.
.pkl69.1 MB · 93%
From the Hugging Face model README
Multi-model classification pipeline predicting BUY / HOLD / SELL signals for major forex pairs using 10 years of H1 candle data.
USD_CHF
H1 (1-hour candles)
| Model | Accuracy | F1 (weighted) | Sharpe Ratio | Return % | Max DD % |
|---|---|---|---|---|---|
| xgboost | 0.3895086891225059 | 0.4624705139898039 | 0.0 | 0.0% | 0.0% |
| lightgbm | 0.370521347350354 | 0.4419163108223123 | 0.0 | 0.0% | 0.0% |
| lstm | 0.3868268611885861 | 0.45938959752709685 | -0.476 | -0.0% | -0.0% |
from huggingface_hub import hf_hub_download
import joblib
# Download and load XGBoost model
path = hf_hub_download(repo_id="keeprich/oanda-trading-models", filename="models/xgboost/EUR_USD_H1/model.pkl")
model = joblib.load(path)
30 engineered technical features including:
3-class signal: 0=SELL, 1=HOLD, 2=BUY
Based on 4-bar forward return with ±0.15% threshold.
Generated: 2026-07-11