xalpha Fund Tool
xalpha Fund Tool: xalpha Fund Tool: specialized toolkit for 3+ finance workflows covered in the triggers section.
Overview
Constraints
Evidence Quality
Medium confidence — review before critical use
46 non-negotiable constraints
WHENWhen implementing get_daily return logic
ACTIONReturn DataFrame with date and close columns as minimum required schema
CONSEQUENCEDownstream components expecting OHLCV columns will raise KeyError when date or close fields are missing from returned DataFrame
WHENWhen implementing fundinfo.price DataFrame structure
ACTIONverify DataFrame contains date, netvalue, totvalue, and comment columns
CONSEQUENCEMissing required columns causes downstream trade and backtest calculations to fail with KeyError or NaN values, corrupting financial analysis results
WHENWhen initializing fundinfo with code parameter
ACTIONvalidate that fund code is exactly 6 digits and normalized with zero-padding
CONSEQUENCEInvalid fund codes cause API requests to fail with 404 errors or return incorrect data, leading to ParserFailure exceptions during data acquisition
FAQ
Discussion (0)
No comments yet. Be the first to share!
Changelog
v0.1.0: Initial release on Doramagic.ai. Auto-generated batch-v1 metadata and FAQs based on tangweigang-jpg/doramagic-skills.