compare_languages
Compare English and Traditional Chinese news sentiment for a stock ticker to detect cross-market arbitrage signals. Returns aggregates and a divergence score indicating which language market is more bullish.
Instructions
Compare English vs Traditional Chinese news sentiment for a ticker side-by-side, plus a divergence score. Designed for cross-market arbitrage signal detection — US press (Reuters/Bloomberg) often leads Taiwan/Asia press by hours. A large divergence (|divergence| > 0.3) often precedes mood shifts on Asia-listed semis or US names with strong TW supply chain exposure. Returns: english + chinese aggregates (article_count, average_score, confidence, distribution) and divergence = english.average_score - chinese.average_score. Positive divergence = English more bullish; negative = Chinese more bullish.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | Yes | Stock ticker symbol. Most useful for: Taiwan-listed names (TSMC, 2330.TW, 聯發科), US semis with Asia supply chain (NVDA, AMD, AVGO, ASML), and dual-listed ADRs. | |
| window_hours | No | Rolling time window in hours. Default 24, max 168. |