Arbitrage Alert: Cross-Screening LOF Premium Arbitrage Opportunities Using Dual Data Sources

Foreword

On-exchange LOF premium arbitrage relies on real-time prices, intraday estimated NAVs, and subscription status. Relying on a single market data source can easily lead to missing targets or mistaking “subscription suspended” for an executable opportunity. Manually compiling tables, calculating premium rates, and checking subscription status involves high repetition costs during trading hours.

The following introduces the SkillHub community skill “Arbitrage Alert” (Coordinates @user_628666c1/taolitixing). It encapsulates LOF lists from Tonghuashun and Sina, along with unified price/valuation logic, into repeatable scripts. It also defines a convention to use two high-premium lists for cross-validation, facilitating a screening round by an Agent or local Python during the trading session.

What is this

“Arbitrage Alert” is an Agent Skill designed for LOF Fund Premium Arbitrage. It adopts the universal SKILL.md format and is maintained by the community publisher user_628666c1. SkillHub classifies it as professional. The current version is 1.0.0, and the tags indicate No API Key Required (requires_api_key=false).

The skill itself does not replace trading decisions. Instead, it fetches the full LOF list, calculates premium rates, filters out non-subscribable targets, and outputs CSV lists for you or your Agent to perform “dual-source confirmation.”

Core Functions

Based on the SKILL.md and scripts within the skill package, the verified capabilities are as follows:

  1. Dual Scripts, Dual List Sources

    • yijia_tonghuashun.py: LOF list from Tonghuashun (AkShare fund_etf_category_ths).
    • yijia_sina.py: LOF list from Sina (AkShare fund_etf_category_sina).
      Both use the same data sources for on-exchange prices and valuation data (Sina real-time prices + Eastmoney fund_value_estimation_em estimated NAV). The difference lies mainly in the LOF coverage range.
  2. Premium Rate Calculation
    Premium Rate (%) = (Real-time Market Price − Intraday Estimated NAV) / Intraday Estimated NAV × 100. The estimated NAV is a real-time projection based on quarterly disclosed holdings and may deviate from the officially published NAV after market close.

  3. Unified Filtering

    • Premium Rate > 3%
    • Valid latest price and estimated NAV
    • Subscription status is not “Suspended” (LOFs with suspended subscription cannot be executed via the standard arbitrage path, so the script will filter them out).
  4. Output Files
    Each script generates two CSV files:

    • Full Data: LOF全量数据_同花顺.csv / LOF全量数据_新浪.csv
    • High Premium List: LOF高溢价套利清单_同花顺.csv / LOF高溢价套利清单_新浪.csv (Sorted by premium rate in descending order)
  5. Recommended Usage
    Run the two scripts sequentially and compare the two high-premium lists: targets appearing in both data sources can be marked as “Dual-source Confirmed”; targets appearing in only one source require marking the source and independent verification.

Installation and Enablement

Install SkillHub CLI

If the CLI is not installed, you can check the version first:

command -v skillhub && skillhub --version

If not installed, follow the official SkillHub installation documentation (full install or CLI only):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

See instructions at: SkillHub Installation and Priority Source Configuration.

Install “Arbitrage Alert” to Current Agent

When installing, you must use --dir to point to the current Agent’s skills directory; otherwise, the default location ./skills/ might not be recognized. The common path for Cursor is ~/.cursor/skills/.

skillhub install taolitixing --namespace user_628666c1 --dir ~/.cursor/skills/

Alternatively, you can ask the Agent in the chat to install @user_628666c1/taolitixing following the prompts on the official page, referencing https://skillhub.cn/install/skillhub.md.

Paths for other clients (excerpted from official installation docs): Claude Code is ~/.claude/skills/; Codex is ~/.codex/skills/ or .agents/skills/ under the project. After installation, refresh or restart according to the client’s requirements to load the Skill.

Python Runtime Environment

The scripts depend on Python 3.11+ and AkShare. Install dependencies within the skill directory:

pip install akshare --upgrade -i https://pypi.tuna.tsinghua.edu.cn/simple

Typical Usage

Enter the skill package directory (the installed @user_628666c1/taolitixing) and follow the workflow in SKILL.md.

  1. Run the Tonghuashun data source script:
python yijia_tonghuashun.py
  1. Run the Sina data source script:
python yijia_sina.py
  1. Open the two LOF高溢价套利清单_*.csv files and cross-compare the codes. Prioritize those hitting both sides; for single-side hits, judge based on the subscription status, price, and valuation in the full CSV.

It is recommended to run during A-share trading hours (9:30–15:00), as this ensures the market price and valuation interfaces return intraday data. Results outside trading hours are for reference only.

If using this Skill via an Agent, you can instruct the model to execute the scripts, read the CSVs, and summarize the “Dual-source Confirmed” list according to the above workflow. The skill does not have a built-in auto-merge script; cross-validation must be completed by you or the Agent.

Applicable Scenarios & Notes

Suitable for

  • Traders or researchers focusing on LOF premium arbitrage who need to quickly screen for high-premium, subscribable targets during the session.
  • Teams or individuals already using Skills in environments like Cursor or Claude Code who wish to solidify “Data Fetching + Premium Calculation + Suspended Subscription Filtering” into repeatable steps.

Limitations & Notes

  • Data comes from public interfaces (AkShare / Sina / Eastmoney, etc.). Interface changes or rate limiting may cause script errors or empty results; you may need to upgrade akshare or retry later.
  • Estimated NAV, real NAV, discount/premium, purchase limits, T+ rules, etc., are not modeled within the skill. The list does not equate to tradable or profitable opportunities. You must still verify fund company announcements and broker counters before execution.
  • SkillHub page statistics (as of data retrieval): Rating 100000, Downloads 737, Install count 0. This is a community source; please assess compliance and risks independently before use.
  • If using only user_628666c1/taolitixing as the slug without --namespace, the CLI may fail to resolve; please use the installation command with namespace shown above.

Conclusion

“Arbitrage Alert” codifies full LOF scanning, premium rate calculation, and suspended subscription filtering into two parallel verifiable pipelines. It is suitable for repeated execution by an Agent or local Python during trading hours. The official SkillHub page and coordinates are as follows:

  • Page: https://www.skillhub.cn/skills/user_628666c1/taolitixing
  • API Entry: https://api.skillhub.cn/user_628666c1/taolitixing
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye