Alphalens Factor Analysis

Alphalens Factor Analysis: Alphalens Factor Analysis: specialized toolkit for 3+ finance workflows covered in the triggers section.

✓ 0 reported success·v0.1.0·

Overview

Alphalens Factor Analysis skill for finance analytics + 量化. Covers 3+ use cases. (batch-v1 draft, needs English review) This skill is built on open-source project zvtvz/zvt and embeds 25 anti-pattern constraints. Visit doramagic.ai/r/alphalens-factor-analysis for bilingual documentation and use cases. Compatible with the Doramagic ecosystem (Claude Code, Cursor, openclaw, ChatGPT, Gemini, etc.).

Blueprint Source

finance-bp-120

zvtvz/zvt6360a632 source files

Constraints

56total
31fatal
31 must-not-violate

Evidence Quality

Confidence88%

Medium confidence — review before critical use

31 non-negotiable constraints

FATALdomain_rulefinance-C-001

WHENWhen aligning factor and price data for forward returns computation

ACTIONverify factor and prices DatetimeIndex share identical timezone

CONSEQUENCEMismatched timezones cause NonMatchingTimezoneError and produce incorrect forward return calculations, leading to flawed factor analysis results

FATALdomain_rulefinance-C-002

WHENWhen constructing factor_data output

ACTIONuse MultiIndex with levels named 'date' (level 0) and 'asset' (level 1)

CONSEQUENCEDownstream functions relying on MultiIndex levels named 'date' and 'asset' will fail or produce incorrect results when index structure is non-compliant

FATALdomain_rulefinance-C-003

WHENWhen naming forward return columns

ACTIONuse pd.Timedelta-compatible format (e.g., 1D, 5D, 30m, 3h15m)

CONSEQUENCENon-compliant column names cause get_forward_returns_columns pattern matching to fail, resulting in missing forward returns in analysis

FAQ

Discussion (0)

No comments yet. Be the first to share!

Changelog

v0.1.02026-04-23·Contributors: tangweigang-jpg

v0.1.0: Initial release on Doramagic.ai. Auto-generated batch-v1 metadata and FAQs based on zvtvz/zvt.