Alpha Library  /  Point-in-time Fundamentals  /  fund_operating_margin

fund_operating_margin

Operating margin - operating income over revenue

Themes & universe

qualityequity_usequity_cnequity_hk1d

Formula

\mathrm{zscore}_{x}\left(\frac{\mathrm{operating\_income}}{\mathrm{revenue}}\right)

Definition

id
fund_operating_margin
zoo
fundamental
module_path
src.factors.zoo.fundamental.operating_margin
decay_horizon
252
min_warmup_bars
1
requires_sector
False
columns_required
fund:operating_income, fund:revenue

Notes

Operating profitability (operating income / revenue), cross-sectionally z-scored per date. Captures pricing power and cost efficiency before financing and tax effects. Zero-revenue or missing statements become NaN via safe division and are excluded from that date's cross-section; PIT-safe from the fundamental panel.

Run it

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