<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[QuantRocket Blog]]></title><description><![CDATA[Data-Driven Trading with Python]]></description><link>https://www.quantrocket.com</link><generator>metalsmith-feed</generator><lastBuildDate>Sat, 07 Feb 2026 15:28:51 GMT</lastBuildDate><atom:link href="https://www.quantrocket.com/blog/rss.xml" rel="self" type="application/rss+xml"/><author><![CDATA[QuantRocket]]></author><item><title><![CDATA[Extracting Structured Datasets for Systematic Strategies from Unstructured Textual Sources: Brain Alternative Datasets]]></title><description><![CDATA[<p>Natural Language Processing (NLP) is a broad field that enables computers to process and analyze unstructured textual data. In this article, we present several proprietary Brain datasets derived from news articles and SEC regulatory filings, along with case studies implemented in QuantRocket.</p>]]></description><link>https://www.quantrocket.com/blog/brain-alternative-data</link><guid isPermaLink="true">https://www.quantrocket.com/blog/brain-alternative-data</guid><dc:creator><![CDATA[Francesco Cricchio and Matteo Campellone]]></dc:creator><pubDate>Thu, 11 Jul 2024 00:00:00 GMT</pubDate></item><item><title><![CDATA[Is There Alpha in Borrow Fees?]]></title><description><![CDATA[<p>Borrow fees reflect how likely short sellers think a stock is to decline. Can this information be incorporated into trading strategies as an alpha factor? This article uses Alphalens to explore the relationship between borrow fees and forward returns and uses Moonshot and Zipline to demonstrate ways to incorporate borrow fees into long or short strategies.</p>]]></description><link>https://www.quantrocket.com/blog/borrow-fees-alpha</link><guid isPermaLink="true">https://www.quantrocket.com/blog/borrow-fees-alpha</guid><dc:creator><![CDATA[QuantRocket]]></dc:creator><pubDate>Thu, 16 May 2024 00:00:00 GMT</pubDate></item><item><title><![CDATA[Cloud or Local: Where to Run Your Quant Trading?]]></title><description><![CDATA[<p>Is it better to run your quant trading in the cloud or locally? In this article, I outline the pros and cons of each approach and explain why running locally is often better for research while running in the cloud is better for live trading.</p>]]></description><link>https://www.quantrocket.com/blog/cloud-vs-local</link><guid isPermaLink="true">https://www.quantrocket.com/blog/cloud-vs-local</guid><dc:creator><![CDATA[QuantRocket]]></dc:creator><pubDate>Wed, 29 Nov 2023 00:00:00 GMT</pubDate></item><item><title><![CDATA[Market Cap vs Dollar Volume: Which to Use for Universe Selection?]]></title><description><![CDATA[<p>Market cap and dollar volume are two commonly used metrics for filtering a trading universe by size of security. Does it matter which one you use? In this post, I quantify the difference between market cap and dollar volume and explain the kinds of stocks that may unexpectedly appear in your universe with each metric.</p>]]></description><link>https://www.quantrocket.com/blog/market-cap-vs-dollar-volume</link><guid isPermaLink="true">https://www.quantrocket.com/blog/market-cap-vs-dollar-volume</guid><dc:creator><![CDATA[QuantRocket]]></dc:creator><pubDate>Fri, 20 Oct 2023 00:00:00 GMT</pubDate></item><item><title><![CDATA[Researching the Quality Factor with Alphalens and Zipline]]></title><description><![CDATA[<p>Buying high-quality stocks and avoiding low-quality ones can improve investment returns. In this post, I use Alphalens and Zipline to analyze the Piotroski F-Score, a composite measure of a firm&#39;s financial health and quality.</p>]]></description><link>https://www.quantrocket.com/blog/piotroski-f-score</link><guid isPermaLink="true">https://www.quantrocket.com/blog/piotroski-f-score</guid><dc:creator><![CDATA[QuantRocket]]></dc:creator><pubDate>Thu, 28 Sep 2023 00:00:00 GMT</pubDate></item><item><title><![CDATA[Financial Distress Factors: the Altman Z-Score and Interest Coverage Ratio]]></title><description><![CDATA[<p>Are rising interest rates straining balance sheets and increasing the risk of bankruptcies? This article investigates two financial distress factors, the Altman Z-Score and interest coverage ratio, to see if distress is on the rise and how it impacts stock returns.</p>]]></description><link>https://www.quantrocket.com/blog/financial-distress-factors</link><guid isPermaLink="true">https://www.quantrocket.com/blog/financial-distress-factors</guid><dc:creator><![CDATA[QuantRocket]]></dc:creator><pubDate>Thu, 07 Sep 2023 00:00:00 GMT</pubDate></item><item><title><![CDATA[Sector Neutralization: Why It Matters and How to Use It]]></title><description><![CDATA[<p>Sector neutralization is a technique to hedge out sector bets and reduce the impact of sector-specific risks on the portfolio by ranking factors within sectors rather than across sectors. This post uses the debt-to-equity ratio to show why sector neutralization is important and how to perform it in Pipeline.</p>]]></description><link>https://www.quantrocket.com/blog/sector-neutralization</link><guid isPermaLink="true">https://www.quantrocket.com/blog/sector-neutralization</guid><dc:creator><![CDATA[QuantRocket]]></dc:creator><pubDate>Tue, 22 Aug 2023 00:00:00 GMT</pubDate></item><item><title><![CDATA[Why Backtests Run Fast or Slow: A Comparison of Zipline, Moonshot, and Lean]]></title><description><![CDATA[<p>Backtest speed can significantly affect research friction. The ability to form a hypothesis and quickly get an answer from a backtest allows you to investigate more hypotheses. In this article, I explore several factors that affect backtest speed and compare the performance of 3 open-source backtesters.</p>]]></description><link>https://www.quantrocket.com/blog/backtest-speed-comparison</link><guid isPermaLink="true">https://www.quantrocket.com/blog/backtest-speed-comparison</guid><dc:creator><![CDATA[QuantRocket]]></dc:creator><pubDate>Mon, 31 Jul 2023 00:00:00 GMT</pubDate></item><item><title><![CDATA[What's Better, High Profit Margins or Improving Profit Margins?]]></title><description><![CDATA[<p>Should investors prefer companies with high profit margins or companies with improving profit margins? Is it better to own an unprofitable company that&#39;s getting better, or a profitable company that&#39;s getting worse? This post explores these questions by analyzing the profitability growth factor and how it interacts with the profitability and size factors to impact stock performance.</p>]]></description><link>https://www.quantrocket.com/blog/profitability-growth</link><guid isPermaLink="true">https://www.quantrocket.com/blog/profitability-growth</guid><dc:creator><![CDATA[QuantRocket]]></dc:creator><pubDate>Thu, 13 Jul 2023 00:00:00 GMT</pubDate></item><item><title><![CDATA[Analyzing the Profitability Factor with Alphalens]]></title><description><![CDATA[<p>How does a company&#39;s profitability affect its stock returns? In this post, I use Alphalens, a Python library for analyzing alpha factors, to investigate the relationship between operating margin, a profitability ratio, and future returns.</p>]]></description><link>https://www.quantrocket.com/blog/profitability-factor-alphalens</link><guid isPermaLink="true">https://www.quantrocket.com/blog/profitability-factor-alphalens</guid><dc:creator><![CDATA[QuantRocket]]></dc:creator><pubDate>Wed, 28 Jun 2023 00:00:00 GMT</pubDate></item><item><title><![CDATA[Exploratory Data Analysis of Fundamental Factors]]></title><description><![CDATA[<p>When researching fundamental factors, analyzing alpha shouldn&#39;t be your first step. You can save time and spot issues early by starting with a basic exploration of your factor&#39;s distribution and statistical properties, a process known as exploratory data analysis (EDA). This post looks at operating margin, a profitability ratio, to demonstrate what you can learn from exploratory data analysis.</p>]]></description><link>https://www.quantrocket.com/blog/profitability-factor-eda</link><guid isPermaLink="true">https://www.quantrocket.com/blog/profitability-factor-eda</guid><dc:creator><![CDATA[QuantRocket]]></dc:creator><pubDate>Thu, 15 Jun 2023 00:00:00 GMT</pubDate></item><item><title><![CDATA[How Python Type Hints Make Coding Easier]]></title><description><![CDATA[<p>You may have heard about Python type hints and wondered whether they&#39;re relevant to quants or only to professional software developers. In this article, I&#39;ll explain how QuantRocket&#39;s JupyterLab environment uses type hints to enable better auto-complete and in-editor documentation, and I&#39;ll explain when quants should use type hints in their own code.</p>]]></description><link>https://www.quantrocket.com/blog/python-type-hints-jupyterlab</link><guid isPermaLink="true">https://www.quantrocket.com/blog/python-type-hints-jupyterlab</guid><dc:creator><![CDATA[QuantRocket]]></dc:creator><pubDate>Thu, 01 Jun 2023 00:00:00 GMT</pubDate></item><item><title><![CDATA[QuantConnect and the Financial Challenges of Democratizing Finance]]></title><description><![CDATA[<p>QuantConnect, a quantitative backtesting and trading platform serving mostly retail traders, recently announced a crowdfunding campaign seeking to raise money from its community of users. The company&#39;s associated regulatory disclosures (required by the SEC for equity crowdfunding offerings) reveal that the fundraising is a matter of survival. In this article, I explore what QuantConnect&#39;s financial statements reveal about the retail quant trading market.</p>]]></description><link>https://www.quantrocket.com/blog/quantconnect-challenges-democratize-finance</link><guid isPermaLink="true">https://www.quantrocket.com/blog/quantconnect-challenges-democratize-finance</guid><dc:creator><![CDATA[QuantRocket]]></dc:creator><pubDate>Wed, 09 Nov 2022 00:00:00 GMT</pubDate></item><item><title><![CDATA[What Comes After a Dead Cat Bounce?]]></title><description><![CDATA[<p>What happens after stocks suffer large one-day losses? This post finds that the proverbial &quot;dead cat bounce&quot; occurs overnight and is followed by continued losses the next day. Targeting international markets, I explore a trading strategy that aims to profit from the losses that follow a dead cat bounce.</p>]]></description><link>https://www.quantrocket.com/blog/dead-cat-bounce</link><guid isPermaLink="true">https://www.quantrocket.com/blog/dead-cat-bounce</guid><dc:creator><![CDATA[QuantRocket]]></dc:creator><pubDate>Wed, 02 Dec 2020 00:00:00 GMT</pubDate></item><item><title><![CDATA[A Primer on Survivorship Bias]]></title><description><![CDATA[<p>What is survivorship bias, and why should you care about it? This post explains how survivorship bias can trick you into drawing faulty conclusions from your research, and what you need to know to avoid being tricked.</p>]]></description><link>https://www.quantrocket.com/blog/survivorship-bias</link><guid isPermaLink="true">https://www.quantrocket.com/blog/survivorship-bias</guid><dc:creator><![CDATA[QuantRocket]]></dc:creator><pubDate>Thu, 19 Nov 2020 00:00:00 GMT</pubDate></item><item><title><![CDATA[3 Takeaways from Quantopian Shutting Down]]></title><description><![CDATA[<img style="float:left;" src="/assets/img/blog/quantopian-logo.png" width="100">

<p>Quantopian <a href="https://quantopian-archive.netlify.app/forum/threads/quantopians-community-services-are-closing.html">announced</a> that it is shutting down its community platform. This doesn’t entirely come as a surprise.</p>]]></description><link>https://www.quantrocket.com/blog/quantopian-shutting-down</link><guid isPermaLink="true">https://www.quantrocket.com/blog/quantopian-shutting-down</guid><dc:creator><![CDATA[QuantRocket]]></dc:creator><pubDate>Thu, 05 Nov 2020 00:00:00 GMT</pubDate></item><item><title><![CDATA[Should You Buy or Sell Stocks that Gap Down?]]></title><description><![CDATA[<p>What happens when strong stocks gap down at the open? A well-known trading strategy is to buy the gap, expecting mean reversion. This post uses Zipline to explore down gaps and finds a profitable strategy based on selling, not buying, the gap.</p>]]></description><link>https://www.quantrocket.com/blog/buy-or-sell-down-gaps</link><guid isPermaLink="true">https://www.quantrocket.com/blog/buy-or-sell-down-gaps</guid><dc:creator><![CDATA[QuantRocket]]></dc:creator><pubDate>Thu, 03 Sep 2020 00:00:00 GMT</pubDate></item><item><title><![CDATA[Intraday Futures Calendar Spreads and the Impact of Transaction Costs]]></title><description><![CDATA[<p>Intraday trading strategies offer great promise as well as great peril. This post explores an intraday trading strategy for crude oil calendar spreads and highlights the impact of transaction costs on its profitability.</p>]]></description><link>https://www.quantrocket.com/blog/intraday-futures-calendar-spreads</link><guid isPermaLink="true">https://www.quantrocket.com/blog/intraday-futures-calendar-spreads</guid><dc:creator><![CDATA[QuantRocket]]></dc:creator><pubDate>Wed, 25 Sep 2019 00:00:00 GMT</pubDate></item><item><title><![CDATA[Is Pairs Trading Still Viable?]]></title><description><![CDATA[<p>Classic pairs trading strategies have suffered deteriorating returns over time. Can a research pipeline that facilitates the identification and selection of ETF pairs make pairs trading viable again? This post investigates such a pipeline.</p>]]></description><link>https://www.quantrocket.com/blog/pairs-trading-still-viable</link><guid isPermaLink="true">https://www.quantrocket.com/blog/pairs-trading-still-viable</guid><dc:creator><![CDATA[QuantRocket]]></dc:creator><pubDate>Fri, 30 Aug 2019 00:00:00 GMT</pubDate></item><item><title><![CDATA[Hedging Long-Term Risk with an Intraday Strategy]]></title><description><![CDATA[<p>Do intraday strategies have a place in the portfolios of long-term investors and fund managers? This post explores an intraday strategy that works best in high volatility regimes and thus makes an attractive candidate for hedging long-term portfolio risk.</p>]]></description><link>https://www.quantrocket.com/blog/hedging-long-term-risk-intraday-strategy</link><guid isPermaLink="true">https://www.quantrocket.com/blog/hedging-long-term-risk-intraday-strategy</guid><dc:creator><![CDATA[QuantRocket]]></dc:creator><pubDate>Tue, 19 Mar 2019 00:00:00 GMT</pubDate></item></channel></rss>