Back to projects

Alternative Signals

A backtesting pipeline testing whether 7 free data signals predict company results and stock returns.

  • Python
  • BERT
  • SEC EDGAR
  • Google Trends

Problem

A published study claims the tone of online product reviews predicts earnings surprises. I wanted to know whether that, or any other free data source, actually holds up.

What I built

A Python backtesting pipeline that tests seven signals across 40 companies: 261,000+ Amazon reviews scored by a local BERT model, Wikipedia and Google search interest, filing wording, 3.0 million insider trades from SEC filings, and short interest. Every result is corrected for multiple testing and checked out of sample.

Result

Google search interest is the one signal that holds up. Review tone, the idea the project started from, predicts nothing.

Bar chart of how well seven free signals predict sales surprises and stock returns across 40 companies. Google search has the longest bar.Line chart of the growth of one dollar from copying trades by members of Congress, tracking the market indexes closely.Line chart of the growth of one dollar across 12 industries since 1930, with a momentum rotation strategy above the equal-weight line.
HighlightsExperienceSkillsFeatured projectsMore projectsPlaygroundGitHub activityAboutContact
cuRidingAlternative SignalsBrightspace DeadlinesVisionCompanionEcoCartCPU Cache BenchmarkScheduleScoopcurateNorth StarMarkitRelational Algebra Query ProcessorStudent Management SystemPDF MergerHome Server
Follow a packet across the internetNRZ vs PAM4: levels, noise and misread symbols
GitHubLinkedIn