refraction-ray/xalpha
基金投资管理回测引擎
What it solves
xalpha 是一套完整的基金投資全生命週期管理工具。它透過整合基金資訊、淨值取得與詳細帳戶分析並以視覺化呈現,解決了追蹤複雜投資帳戶(尤其是使用定額定投(DCA)或格子交易策略)的困難。
How it works
此函式庫提供統一的 Python 介面,可取得多市場各類金融商品(股票、基金、指數、商品、貨幣)的即時與歷史價格資料。它能依交易紀錄(CSV 帳單)模擬投資組合,透過穿透分析計算等價股票持有量,並利用期貨資料預測 QDII 基金的淨值。
Who it’s for
適合需要分析基金投資組合、追蹤底層資產集中度,或執行簡易策略回測與設定投資提醒的個人投資人與量化交易者。
Highlights
- Unified Data Access: Fetch daily or real-time data for indices, stocks, and commodities with single-line commands.
- Portfolio Penetration: Ability to see through fund holdings to analyze equivalent stock concentration and industry distribution.
- Net Value Prediction: T-1 and T-0 real-time net value prediction for core QDII funds.
- Visual Analysis: Built-in support for K-line charts, historical valuation analysis, and cost deviation tracking.
- AI Agent Support: Native support for integration with AI agents.