What problem does it solve?
Accessing Tiantian Fund (天天基金) data such as fund NAV, holdings, managers, indices, gold, and bond markets requires calling the official ttfund skills HTTP gateway with the correct skill_id, version, and API key handling, which is error-prone when done by hand.
Core Features & Use Cases
- Unified Gateway Client: A single Node.js script invokes 16 official skill IDs (fund search, NAV, holdings, manager info, gold, bond market, backtests, and more) with automatic version injection.
- Secure API Key Loading: Reads TTFUND_APIKEY from the process environment or a gitignored .env file, keeping credentials out of tracked files and chat replies.
- Use Case: Ask for the latest NAV of fund 000001 or search for 沪深300 index funds, and the skill returns structured JSON facts with source metadata ready for downstream finance analysis layers.
Quick Start
Set your TTFUND_APIKEY environment variable and ask the assistant to search Tiantian Fund for a fund or fetch its latest NAV using the ttfund skill.