Robust Core With Momentum Tilt

Back to leaderboard · 2015-01-01 to 2025-06-01 · v3_top100_monthly

Overall top-100 hits
30.37
average across horizons
Predicted top-100 avg actual rank
231.78
lower is better
Rank IC
0.0392
picks the better of two stocks 51.2% of the time
IC reliability
3.73
t-stat; IC positive 56.3% of months
not adjusted for overlapping windows

Horizon Breakdown

top 100 only
Horizon Average Top-100 Hits Predicted Top-100 Avg Actual Rank Rank IC
3m 30.02 233.51 0.0400
6m 30.32 232.41 0.0382
12m 30.76 229.43 0.0394

Run Note

test summary
Robust Core With Momentum Tilt: 30.37 avg hits@100 (3m 30.02, 6m 30.32, 12m 30.76); avg actual rank 231.78; IC +0.0392 (t 3.73).

Run Details

strategy_test_results #85
id
85
strategy_id
strategy_000074
strategy_title
Robust Core With Momentum Tilt
strategy_hash
4acd123da9ab9e362fc213545d1c23dd97fe3a7f76c6faa6f7b5d8439b71bb6a
evaluator_version
v3_top100_monthly
start_date
2015-01-01
end_date
2025-06-01
created_at
2026-07-25 09:56:35
updated_at
2026-07-25 13:16:40

Sample Top-100 Lists

2020-03-31 / 6m / 37 hits

Predicted top 100

AAL, ADBE, AIG, AMAT, AMD, AMP, ANET, APTV, AVGO, AXP, BA, BAC, C, CCL, CF, CFG, CI, CMG, COF, COP, CTAS, DAL, DHI, DIS, DRI, DVN, EOG, ETSY, EXPE, FANG, FCX, FITB, FTNT, GE, GM, GPN, GPS, GS, HAL, HIG, HUM, HWM, INTU, ISRG, IVZ, KEY, KLAC, KMI, KMX, LEN, LKQ, LRCX, LYV, MA, MAR, MCHP, MCO, MET, MGM, MOS, MPC, MS, MSFT, MU, NCLH, NEM, NFLX, NOW, NVDA, NWL, O, OKE, OXY, PAYC, PHM, PYPL, QCOM, RCL, ROST, RTX, SLB, SPG, SPGI, SWK, SWKS, SYF, SYY, TDG, TER, TFC, TSLA, UAL, URI, VLO, VTR, WDC, WELL, WHR, WY, WYNN

Actual top 100

AAP, AAPL, ABMD, ADBE, ADSK, ALB, ALGN, AMD, AMP, AMZN, APD, APH, APTV, ATVI, AVGO, BBY, BWA, CARR, CDNS, CE, CHRW, CMG, CMI, CPRT, CRM, CTAS, CTLT, CTSH, DD, DE, DHI, DHR, DRI, DXCM, EBAY, EMN, ETSY, EXPE, FCX, FDX, GLW, GPS, HAL, HD, IDXX, IPGP, JCI, KMX, LEG, LEN, LH, LOW, MAS, MCHP, MGM, MOS, NCLH, NKE, NOW, NSC, NVDA, NWS, NWSA, ORLY, PAYC, PH, PHM, PNR, POOL, PVH, PWR, PYPL, QCOM, QRVO, RCL, ROK, ROL, SHW, SIVB, SNPS, SWK, SWKS, SYF, TDG, TEL, TER, TGT, TMO, TSCO, TSLA, TT, UPS, URI, VAR, VIAC, VTR, WHR, WMB, WST, WY

Matched tickers

ADBE, AMD, AMP, APTV, AVGO, CMG, CTAS, DHI, DRI, ETSY, EXPE, FCX, GPS, HAL, KMX, LEN, MCHP, MGM, MOS, NCLH, NOW, NVDA, PAYC, PHM, PYPL, QCOM, RCL, SWK, SWKS, SYF, TDG, TER, TSLA, URI, VTR, WHR, WY

Strategy Script

4acd123da9
"""Generated V3 stock-ranking strategy."""
from __future__ import annotations

import numpy as np
import pandas as pd


STRATEGY_ID = "strategy_000074"
STRATEGY_TITLE = "Robust Core With Momentum Tilt"
DESCRIPTION = """
Classic 12-1 momentum is near-random here (22.1 alone). Adding it should not
help, which would confirm this objective is about dispersion rather than
trend.
"""
FACTORS_USED = [
    "vol_63d",
    "revenue_growth_pct",
    "dollar_volume_21d",
    "market_cap",
    "free_cash_flow_margin_pct",
    "momentum_12_1_pct"
]
PARAMETERS = {
    "vol_63d": 1.0,
    "revenue_growth_top": 0.4,
    "turnover": 0.4,
    "dollar_volume_21d": 0.15,
    "fcf_margin_top": 0.15,
    "momentum_12_1_pct": 0.2
}
COMPLEXITY = 6
PARENT_STRATEGY_ID = "strategy_000062"
GENERATION = 74
RANDOM_SEED = 20260715
CREATED_AT = "2026-07-25T00:00:00+00:00"


def _date_group(df):
    if "trade_date" in df.columns:
        return df["trade_date"]
    return pd.Series(0, index=df.index)


def _rank_pct(df, series):
    """Date-local rank percentile centred on zero; missing values stay neutral."""
    clean = pd.Series(series, index=df.index).replace([np.inf, -np.inf], np.nan)
    ranked = clean.groupby(_date_group(df)).rank(pct=True)
    return ranked.fillna(0.5) - 0.5


def _rank_col(df, column):
    if column not in df.columns:
        return pd.Series(0.0, index=df.index)
    return _rank_pct(df, df[column])


def _zscore_col(df, column):
    if column not in df.columns:
        return pd.Series(0.0, index=df.index)
    clean = df[column].replace([np.inf, -np.inf], np.nan)
    grouped = clean.groupby(_date_group(df))
    mean = grouped.transform("mean")
    std = grouped.transform("std").replace(0, np.nan)
    return ((clean - mean) / std).fillna(0.0)


def _top_half(series):
    """Emphasise only the upper half of a centred rank, leaving the rest flat."""
    return series.clip(lower=0.0) * 2.0 - 0.25


def _turnover(df):
    market_cap = df["market_cap"].replace(0, np.nan) if "market_cap" in df.columns else np.nan
    return _rank_pct(df, df["dollar_volume_21d"] / market_cap)


def _range_252(df):
    return _rank_pct(df, df["from_low_252d"] - df["from_high_252d"])


def _terms(df):
    return {
        "vol_63d": _rank_col(df, "vol_63d"),
        "revenue_growth_top": _top_half(_rank_col(df, "revenue_growth_pct")),
        "turnover": _turnover(df),
        "dollar_volume_21d": _rank_col(df, "dollar_volume_21d"),
        "fcf_margin_top": _top_half(_rank_col(df, "free_cash_flow_margin_pct")),
        "momentum_12_1_pct": _rank_col(df, "momentum_12_1_pct"),
    }




def calculate_score(df):
    terms = _terms(df)
    score = pd.Series(0.0, index=df.index)
    for name, weight in PARAMETERS.items():
        if weight:
            score = score + weight * terms[name]
    return score.replace([np.inf, -np.inf], np.nan).fillna(0.0)