Message Density as a Measure of Investor Attention: A Rule-Based Trading Framework Across Market Capitalizations
Investor attention may be measured by the volume of social media discussions, regardless of sentiment. This study uses a rule-based trading framework based on one-minute Finviz price data and StockTwits messages to test message density, defined as the quantity of StockTwits messages posted within a rolling time window, as a quantitative indicator of investor attention. Message density, normalized sentiment, rolling Pearson correlation between price and density, and MACD applied to the density series are calculated by the framework; trades enter only when all four conditions align and exit through a trailing stop linked to decreasing density. The best rolling window, correlation threshold, and trailing-stop percentage are company-size specific rather than universal, based on independent parameter sweeps across six market-capitalization groups, though a consistent profitability-trade-frequency trade-off appears across all groups. On a single held-out day, total profit beat buy-and-hold in all six groups, by 27.6 to 577.4 percentage points. This result should be read cautiously: it sums every trade a group made that day, so higher-trade-count groups are favored by construction, and buy-and-hold is drawn from a broader ticker pool and a narrower trading window than the strategy itself. Whether the strategy's edge survives a second day is still unknown.
Authors
- Kaamran Raahemifar (ORCID: https://orcid.org/0000-0002-9835-7897)
- Mridini Deshetti
- Avani Manika
- Aman Agrawal
- Harshitha Sundar
Publication Details
- Journal
- ScholarSphere (Penn State Libraries)
- Published
- 2026-11-30
- DOI
- https://doi.org/10.26207/tjg7-y078
- Primary Topic
- Financial Markets and Investment Strategies
- Type
- article
- Field-Weighted Citation Impact
- 0.00