Loading...
Loading...
Financial Data Analysis Skill (based on `bl mcp` + Alibaba Cloud Bailian MCP Market `market-cmapi00073529`), covering financial instruments such as China A-shares, funds, and bonds. It supports stock screening, fund screening, fund manager screening, financial data query (net profit / revenue / ROE, etc.), macro and industry time-series data (GDP / CPI / production-sales-price), brokerage research report retrieval, and A-share listed company announcement retrieval. Be sure to activate when users ask about the following keywords: stock selection / stock screening, fund screening, fund manager screening, financial data / net profit / revenue / valuation, macroeconomy / GDP / CPI, industry production-sales-price, brokerage research report / industry research report, listed company announcement. Not applicable to: general programming issues, non-financial data, non-Chinese market instruments.
npx skill4agent add modelstudioai/skills financial-expertblblbl --versionBased onto call the financial data service (bl mcp) from Alibaba Cloud Bailian MCP Market, providing end-to-end capabilities for stock/fund/fund manager screening, financial and macro data query, research report and announcement retrieval.market-cmapi00073529has a built-in MCP client, which reusesbl, no additional service registration is required.DASHSCOPE_API_KEY
bailian-clinpm install -g bailian-cli
bl --version# Method A: Environment variable (recommended)
export DASHSCOPE_API_KEY=sk-yourAPIKey
# Method B: bl auth
bl auth login --api-key sk-yourAPIKey
# Verification
bl auth statusDASHSCOPE_API_KEYbl auth status# View activated MCP services under the user's Bailian account
bl mcp list --name 金融
# View tools exposed by the specific service
bl mcp tools market-cmapi00073529bl mcp listmarket-cmapi00073529| User Intention | Tool | Category |
|---|---|---|
| "Screen...stocks" "Stock selection" | | Candidate list |
| "Screen...funds" | | Candidate list |
| "Screen...fund managers" | | Candidate list |
| "Check financial/market/valuation of X company/fund" | | Structured data |
| "Check GDP/CPI/industry production-sales/price trend" | | Time-series data |
| "Find brokerage research reports on X industry/company" | | Unstructured research reports |
| "Check X company's announcements" | | Unstructured announcements |
bl mcp callmarket-cmapi00073529bl mcp call market-cmapi00073529.<ToolName> --query "<Natural language query>"# Complete JSON input
bl mcp call market-cmapi00073529.SmartStockSelection \
--json '{"query":"Consumer Sector","filters":{"roe":">15"}}'
# Multiple K=V (values are automatically parsed as JSON)
bl mcp call market-cmapi00073529.SmartFundSelection \
--arg riskLevel=R3 --arg minScale=10bl mcp call market-cmapi00073529.FinQuery --query "Kweichow Moutai 2024 net profit" --output jsonbl mcp tools market-cmapi00073529 --output json--querySmartStockSelectionbl mcp call market-cmapi00073529.SmartStockSelection \
--query "Screen consumer stocks with net profit growth rate exceeding 30% and ROE greater than 15%"SmartFundSelectionbl mcp call market-cmapi00073529.SmartFundSelection \
--query "Screen equity funds ranked top 10% in return over the past year"SmartFundManagerSelectionbl mcp call market-cmapi00073529.SmartFundManagerSelection \
--query "Screen fund managers with management scale exceeding 10 billion RMB and annualized return exceeding 15%"FinQuerybl mcp call market-cmapi00073529.FinQuery \
--query "Query Kweichow Moutai's net profit data from 2020 to present"MacroIndustryDatabl mcp call market-cmapi00073529.MacroIndustryData \
--query "Query China's year-on-year GDP growth rate data over the past five years"FinancialResearchReportbl mcp call market-cmapi00073529.FinancialResearchReport \
--query "Find brokerage research reports on the new energy vehicle industry in the last three months"AnnouncementDatabl mcp call market-cmapi00073529.AnnouncementData \
--query "Query Kweichow Moutai's 2024 annual general meeting resolution announcement"FinQueryMacroIndustryDataFinancialResearchReportAnnouncementDatadate| Error Phenomenon | Troubleshooting Ideas |
|---|---|
| Missing or invalid API Key → |
| The user has not activated the service in the Bailian Console "MCP Market", guide them to activate it |
| Check network/region (default |
Tool returns | Read the error description in |
| No results returned | Relax screening conditions, confirm whether the entity name (full name/abbreviation/code) is accurate |
# Step 1: Candidate screening
bl mcp call market-cmapi00073529.SmartStockSelection \
--query "Consumer stocks with ROE greater than 15% and compound net profit growth rate greater than 20% in the past three years" \
--output json
# Assume top 3 returned: Kweichow Moutai, Wuliangye, Yili Group
# Step 2: Pull latest research reports respectively
bl mcp call market-cmapi00073529.FinancialResearchReport \
--query "Core opinions of brokerage research reports on Kweichow Moutai in the past month"
bl mcp call market-cmapi00073529.FinancialResearchReport \
--query "Core opinions of brokerage research reports on Wuliangye in the past month"
bl mcp call market-cmapi00073529.FinancialResearchReport \
--query "Core opinions of brokerage research reports on Yili Group in the past month"bailian-clibl text chatbl imagebailian-clibl text chatbailian-clibl image generatebailian-clibl speech synthesizebl mcplisttoolscallbailian-clireference/bailian-clibl mcp <subcommand> --help--dry-run