Downloads · 30 days
0
AdithyaByri/direction-h4-clf
direction-h4-clf is a machine learning model from AdithyaByri. 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 mit.
Trained XGBoost model that predicts the directional probability of an underlying's next-4-bars return. The 4-bar horizon is approximately 1 hour on a 15-minute bar grid. The model is a building block of the multi-agen…
Downloads · 30 days
0
Access
Public
Updated Aug 30, 2026
Repo size
1.3 MB
Likes
0
Public
Click a slice to open those files.
.pkl1.3 MB · 99%
From the Hugging Face model README
Trained XGBoost model that predicts the directional probability of an
underlying's next-4-bars return. The 4-bar horizon is approximately
1 hour on a 15-minute bar grid. The model is a building block of the
multi-agent trading system described in
aizentrading/Aizen-Trading.
direction_h4_xgb_clf-20260830-0111072026-08-29T19:41:07Zreturn_1return_4return_16volatility_16rsi_14macd_pcthl_rangeco_returnatr_pct_14ma_dist_20ma_dist_50volume_ratio_20volume_change_1trade_count_ratio_20vwap_distancespy_ret_1spy_ret_past_16spy_volatility_16qqq_ret_past_16qqq_volatility_162025-08-08T20:45:00Z2025-08-11T12:00:00Z to 2026-02-20T14:00:00Z2026-02-20T14:15:00Zimport joblib
import pandas as pd
from huggingface_hub import hf_hub_download
pkl_path = hf_hub_download(
repo_id="AdithyaByri/direction-h4-clf",
filename="direction_h4_xgb_clf-*.pkl",
)
clf = joblib.load(pkl_path)
# `clf` is a sklearn-style XGBClassifier with .predict_proba(X)[:, 1]
proba = clf.predict_proba(X)[:, 1]
Trained by the orchestrator's nightly retrain step
(src/agents/train_direction.py). Deployed via
scripts/deploy_to_hf.py. The model is re-trained daily on a
walk-forward split and the latest version replaces the previous one
on this hub.