<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Quant Research | Aaron3963</title><link>https://aaron3963.github.io/tags/quant-research/</link><atom:link href="https://aaron3963.github.io/tags/quant-research/index.xml" rel="self" type="application/rss+xml"/><description>Quant Research</description><generator>Hugo Blox Builder (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Fri, 06 Dec 2024 00:00:00 +0000</lastBuildDate><image><url>https://aaron3963.github.io/media/icon_hu3009652487647302230.png</url><title>Quant Research</title><link>https://aaron3963.github.io/tags/quant-research/</link></image><item><title>News Headline Based S&amp;P500 Trading Strategy</title><link>https://aaron3963.github.io/project/news-sp500/</link><pubDate>Fri, 06 Dec 2024 00:00:00 +0000</pubDate><guid>https://aaron3963.github.io/project/news-sp500/</guid><description>&lt;div class="flex px-4 py-3 mb-6 rounded-md bg-primary-100 dark:bg-primary-900">
&lt;span class="pr-3 pt-1 text-primary-600 dark:text-primary-300">
&lt;svg height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m11.25 11.25l.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0a9 9 0 0 1 18 0m-9-3.75h.008v.008H12z"/>&lt;/svg>
&lt;/span>
&lt;span class="dark:text-neutral-300">This project is fully rendered online that can be found &lt;a href="https://aaron3963.github.io/CSE_151A_Project/" target="_blank" rel="noopener">here&lt;/a>.&lt;/span>
&lt;/div>
&lt;p>In this project, we aimed to build a model capable of predicting whether the S&amp;amp;P 500 index would rise or fall based on daily news headlines. We collected and analyzed over three years of headlines from CNBC, The Guardian, and Reuters, spanning from late 2017 to mid-2020, and combined them with corresponding daily S&amp;amp;P 500 trading data. Our exploratory data analysis revealed varying dataset sizes, common stop words dominating headlines, and a significant COVID-19 dip in early 2020 that we anticipated might impact our model&amp;rsquo;s performance.&lt;/p>
&lt;p>We began with a logistic regression baseline using TF-IDF features, which achieved only around 51-55% accuracy. We then implemented Transformer-based classifiers and experimented extensively with hyperparameter tuning, including adjusting attention heads, applying learning rate decay, and testing various text preprocessing strategies. Our best-performing model, which removed stop words, achieved a 61.5% test accuracy—modest but above random guessing.&lt;/p>
&lt;p>We translated this model into a quantitative trading strategy that used bearish predictions to short the market, generating over 10% gross profit in six months, significantly outperforming a simple buy-and-hold approach. While our results are encouraging, we acknowledge that financial markets are influenced by numerous factors beyond news sentiment, and we believe future work with LSTMs or BERT could further improve performance.&lt;/p></description></item></channel></rss>