dsh-astock: Equipping DeepSeek Harness with A-share Research Capabilities

dsh-astock is a DSH networking tool plugin maintained by WilShi, designed for A-share research scenarios. It registers six astock_* tools: astock_search to retrieve targets, astock_quote to fetch real-time quotes and valuation metrics, astock_kline to obtain pre-adjusted daily K-line data, astock_financials to read financial statements and perform TTM adjustment, astock_valuation to automatically select a valuation model, and astock_report to generate Markdown research briefs. The plugin includes two built-in valuation models, two-stage DCF and PB-ROE, which automatically switch based on company type; they are not applicable to loss-making companies. All data comes from public interfaces with zero configuration and no API key required. Market data and K-lines feature multi-source fallback, and the returned results use the 'source' field to indicate the actual data source. The installation command is `dsh plugin add dsh-astock`, and it is ready to use immediately after installation. The valuation tool supports four optional parameters: growthRate, terminalGrowth, discountRate, and years. The plugin runs with the permissions of the current DSH process. Users should review the source code and the MIT license before use. Valuation results do not constitute investment advice.

Read More