Alpha Library  /  Point-in-time Fundamentals  /  fund_leverage

fund_leverage

Leverage - inverse debt/equity (low leverage scores high)

Themes & universe

leverageequity_usequity_cnequity_hk1d

Formula

-\mathrm{zscore}_{x}\left(\frac{\mathrm{total\_debt}}{\mathrm{total\_equity}}\right)

Definition

id
fund_leverage
zoo
fundamental
module_path
src.factors.zoo.fundamental.leverage
decay_horizon
252
min_warmup_bars
1
requires_sector
False
columns_required
fund:leverage

Notes

PIT-safe market leverage (total debt / total equity) from the fundamental panel; sign inverted so low leverage scores high — heavily levered firms carry distress risk and lower expected returns. Zero-equity or missing statements already yield NaN in the derived field and are excluded from that date's cross-section.

Run it

pip install vibe-trading-ai
vibe-trading alpha show fund_leverage
vibe-trading alpha bench --zoo fundamental --universe csi300 --period 2020-2025