Quant Mashup - Quant Start

Understanding Equities Data [Quant Start]

In this brief tutorial we will take a look at the different aspects of end-of-day equities data. We will develop an understanding of what the Open, High, Low and Close (OHLC) prices mean, as well as discuss the traded Volume. We will look at how a typical Adjusted Close price is calculated and the

*- 2 weeks ago, 10 Nov 2021, 09:42am -*

Building a Raspberry Pi Cluster for QSTrader using SLURM - Part 1 [Quant Start]

When carrying out systematic trading strategy research one of the main steps is to optimise a collection of strategy parameters to maximise or minimise some objective function. A simple example would be optimising the lookback parameters of the 'fast' and 'slow' moving averages

*- 1 month ago, 22 Oct 2021, 01:56am -*

Simple versus Advanced Systematic Trading Strategies - Which is Better? [Quant Start]

An age-old question in the quant community asks whether systematic traders should stick with simple quant strategies or expend the effort to implement more advanced approaches. It is often the perception that retail algo traders solely utilise simpler strategies while quantitative hedge funds carry

*- 10 months ago, 5 Jan 2021, 10:40am -*

QuantStart News - August 2020 [Quant Start]

A couple of months ago we started a new set of posts designed to keep the QuantStart community aware of what the QuantStart team had been up to in previous month. In last month's post we discussed what we had been working on in July 2020. Articles and Tutorials In August we once again reviewed

*- 1 year ago, 16 Sep 2020, 11:27am -*

Sigma Algebras and Probability Spaces [Quant Start]

Our recent 2020 Content Survey highlighted the desire from many of you to study the more advanced mathematics necessary for carrying out applications in quantitative finance. Two of the highlighted areas were Linear Algebra for Deep Learning along with Stochastic Calculus. The latter is the

*- 1 year ago, 25 Aug 2020, 12:36pm -*

Training the Perceptron with Scikit-Learn and TensorFlow [Quant Start]

In the previous article on the topic of artificial neural networks we introduced the concept of the perceptron. We demonstrated that the perceptron was capable of classifying input data via a linear decision boundary. However we postponed a discussion on how to calculate the parameters that govern

*- 1 year ago, 24 Aug 2020, 10:24am -*

Connecting to the Interactive Brokers Native Python API [Quant Start]

Interactive Brokers has always been a popular brokerage with systematic traders. Initially this could partially be attributed to the fact that IB provided an Application Programming Interface (API) that allowed quants to obtain market data and place trades directly in code. Many competing brokerages

*- 1 year ago, 29 Jul 2020, 01:04pm -*

Introduction to Artificial Neural Networks and the Perceptron [Quant Start]

In this article we begin our discussion of artificial neural networks (ANN). We first motivate the need for a deep learning based approach within quantitative finance. Then we outline one of the most elementary neural networks known as the perceptron. We discuss the architecture of the perceptron

*- 1 year ago, 24 Jul 2020, 08:28am -*

Installing TensorFlow 2.2 on Ubuntu 18.04 with an Nvidia GPU [Quant Start]

Earlier in the year we carried out our 2020 QuantStart Content Survey and Advanced Machine Learning & Deep Learning was voted the most popular topic. This article constitutes the first in a series on the topic of modern machine learning via deep learning as applied to systematic trading

*- 1 year ago, 16 Jul 2020, 12:29pm -*

Periodically Rebalanced Static Allocation 'Buy and Hold' Strategies in QSTrader [Quant Start]

For those systematic traders who are considering a long-term investment horizon one of the most common forms of generating a portfolio involves static proportional capital allocation amongst a collection of (hopefully) diversifying asset classes, which is periodically rebalanced to maintain the

*- 1 year ago, 19 May 2020, 10:30am -*

How to Learn Advanced Mathematics Without Heading to University - Part 4 [Quant Start]

It has been some time since wrote Parts I, II and III of our popular series of articles on How to Learn Advanced Mathematics Without Heading to University. Many of you have contacted us asking for the final Part IV of the series. We have now completed our internal research and can present our view

*- 1 year ago, 4 Feb 2020, 11:33am -*

The 60/40 Benchmark Portfolio [Quant Start]

In a recent article we introduced systematic tactical asset allocation (TAA) as a low-frequency example of quantitative trading strategy. For those who are taking their first steps in systematic trading, are wanting to consider systematic trading in the context of their retirement planning or are

*- 1 year ago, 5 Dec 2019, 10:53am -*

Systematic Tactical Asset Allocation: An Introduction [Quant Start]

Systematic trading is often synonymous with short-term trading frequencies in the retail quant trading space. Daily and intraday strategies tend to receive the bulk of the community's attention. The popularity of systematic cryptocurrency trading has put a further emphasis on short term trading

*- 2 years ago, 20 Nov 2019, 09:33am -*

Hiring a Software Developer to Code Up a Trading Strategy [Quant Start]

At QuantStart we place an emphasis on fully automated systematic trading and the processes that surround it. However we should be careful to distinguish between the separate concepts of systemisation and automation. The former involves a trading strategy that can be codified into a set of rules,

*- 2 years ago, 14 Nov 2019, 09:01am -*

Engineering To Quant Finance - How To Make The Transition [Quant Start]

At QuantStart we often receive email queries about the possibility of making a career transition to quantitative finance, particularly for individuals who currently consider themselves mid-career. In a more general sense we have previously discussed whether it is possible to become a quant during

*- 2 years ago, 5 Nov 2019, 08:15pm -*

Installing TensorFlow on Ubuntu 16.04 with an Nvidia GPU [Quant Start]

Any serious quant trading research with machine learning models necessitates the use of a framework that abstracts away the model implementation from the model specification. This is particularly crucial for deep learning techniques as production-grade models require training on GPUs to make them

*- 4 years ago, 30 Nov 2017, 09:42pm -*

QSTrader: November 2017 Update [Quant Start]

Last month I presented a detailed roadmap for the redevelopment of QSTrader, our open-source systematic trading simulation engine. Today I want to discuss our progress in the month since that article was published and what still remains to be completed prior to the initial 0.1.0 alpha release.

*- 4 years ago, 26 Nov 2017, 09:33pm -*

QSTrader: A Major Update On Our Progress [Quant Start]

I spoke at the Open Data Science London conference last weekend on the topic of becoming a quant. Part of the talk was aimed at educating practising data scientists on the fact that quantitative finance firms do actually contribute to, and create, many open source projects. One such project is

*- 4 years ago, 18 Oct 2017, 10:32am -*

Capital Raising for Early Stage Quant Fund Managers - Part I [Quant Start]

This is the first in a two part series of articles written by Frank Smietana, an expert guest contributor to QuantStart. In this article Frank takes a look at how early-stage quantitative hedge fund managers can go about looking to secure their first institutional allocation of capital. Please be

*- 4 years ago, 3 Oct 2017, 10:57pm -*

High Frequency Trading III: Optimal Execution [Quant Start]

In this article series Imanol Pérez, a PhD researcher in Mathematics at Oxford University, and an expert guest contributor to QuantStart outlines the basics of high-frequency trading. In this article Imanol uses the theory of stochastic optimal control to optimally execute a large trade order. It

*- 4 years ago, 27 Sep 2017, 01:24pm -*

High Frequency Trading II: Limit Order Book [Quant Start]

In this article series Imanol Pérez, a PhD researcher in Mathematics at Oxford University, and an expert guest contributor to QuantStart continues the discussion of high-frequency trading via the introduction of the limit order book. As we saw in the in the first article of the series, the

*- 4 years ago, 12 Sep 2017, 01:23pm -*

Best Operating System For Quant Trading? [Quant Start]

One question that I am asked frequently is which operating system to use for quantitative trading research and implementation. The short answer, as of the writing date of this article, is if you want to carry out any serious/mathematical quant trading research (machine learning/deep learning) you

*- 4 years ago, 7 Sep 2017, 09:41am -*

High Frequency Trading I: Introduction to Market Microstructure [Quant Start]

In this new article series Imanol Pérez, a PhD researcher in Mathematics at Oxford University, and an expert guest contributor to QuantStart delves into high-frequency trading and introduces the concept of market microstructure. Nowadays, a significant number of financial instruments are traded in

*- 4 years ago, 22 Aug 2017, 12:25pm -*

What Alternative Career Paths Exist For Quants? [Quant Start]

Recent graduates, postgraduates and those in early-career positions with a technical background are now faced with a wide choice of exciting and well-compensated career paths in a diverse set of industries. Quantitative finance remains an attractive option but the competition for top talent is

*- 4 years ago, 15 Aug 2017, 11:27pm -*

Derivatives Pricing III: Models driven by Lévy processes [Quant Start]

In this article series QuantStart returns to the discussion of pricing derivative securities, a topic which was covered a few years ago on the site through an introduction to stochastic calculus. Imanol Pérez, a PhD researcher in Mathematics at Oxford University, and an expert guest contributor to

*- 4 years ago, 10 Aug 2017, 10:14am -*

Derivatives Pricing II: Volatility Is Rough [Quant Start]

In this new article series QuantStart returns to the discussion of pricing derivative securities, a topic which was covered a few years ago on the site through an introduction to stochastic calculus. Imanol Pérez, a PhD researcher in Mathematics at Oxford University, and an expert guest contributor

*- 4 years ago, 27 Jul 2017, 07:25am -*

Backtesting Systematic Trading Strategies in Python: Considerations and Open Source Frameworks [Quant Start]

In this article Frank Smietana, one of QuantStart's expert guest contributors describes the Python open-source backtesting software landscape, and provides advice on which backtesting framework is suitable for your own project needs. Backtesting is arguably the most critical part of the

*- 4 years ago, 18 Jul 2017, 10:46am -*

Should You Buy or Rent a GPU-Based Deep Learning Machine for Quant Trading Research? [Quant Start]

We've recently been considering the field of deep learning as a modelling methodology for forming new quantitative trading models. Such models have been shown to be 'unreasonably effective' in the fields of computer vision, natural language processing and games of strategy. This

*- 4 years ago, 26 Jun 2017, 11:06am -*

Rough Path Theory and Signatures Applied To Quantitative Finance - Part 4 [Quant Start]

This is the fourth in a new advanced series of posts written by Imanol Pérez, a PhD researcher in Mathematics at Oxford University and an expert guest contributor to QuantStart. In this post Imanol applies the Theory of Rough Paths to the task of predicting which country a company belongs to based

*- 4 years ago, 22 Jun 2017, 12:19pm -*

Matrix Algebra - Linear Algebra for Deep Learning (Part 2) [Quant Start]

Last week I posted an article, which formed the first part in a series on Linear Algebra For Deep Learning. The response to the article was extremely positive, both in terms of feedback, article views and also more broadly on social media. Many of you commented that there was "an appetite"

*- 4 years ago, 22 Jun 2017, 12:19pm -*

Scalars, Vectors, Matrices and Tensors - Linear Algebra for Deep Learning (Part 1) [Quant Start]

Back in March we ran a content survey and found that many of you were interested in a refresher course for the key mathematical topics needed to understand deep learning and quant finance in general. Since deep learning is going to be a big part of this year's content we thought it would be

*- 4 years ago, 15 Jun 2017, 09:56am -*

Rough Path Theory and Signatures Applied To Quantitative Finance - Part 3 [Quant Start]

This is the third in a new advanced series of posts written by Imanol Pérez, a PhD researcher in Mathematics at Oxford University and an expert guest contributor to QuantStart. In this post Imanol applies the Theory of Rough Paths to the task of handwritten digit classification—a common task for

*- 4 years ago, 7 Jun 2017, 11:42am -*

What are the Different Types of Quant Funds? [Quant Start]

This is the third in a series of posts written by Frank Smietana, an expert guest contributor to QuantStart. In this detailed post Frank examines the different algorithmic trading strategies carried out by quantitative hedge funds. Click for parts one and two. - Mike. Institutional asset managers

*- 4 years ago, 31 May 2017, 06:30pm -*

Rough Path Theory and Signatures Applied To Quantitative Finance - Part 2 [Quant Start]

his is the second in a new advanced series of posts written by Imanol Pérez, a PhD researcher in Mathematics at Oxford University, and a new expert guest contributor to QuantStart. In this post Imanol continues the theoretical discussion of Rough Paths and Signatures and begins applying them within

*- 4 years ago, 22 May 2017, 03:57am -*

Setting up an Algorithmic Trading Business [Quant Start]

This is the second in a series of posts written by Frank Smietana, an expert guest contributor to QuantStart. In this detailed post Frank takes a look at the different ways in which an algorithmic trading business can be established—and why you might want to consider it. - Mike. Setting up an

*- 4 years ago, 18 May 2017, 02:30am -*

Rough Path Theory and Signatures Applied To Quantitative Finance - Part 1 [Quant Start]

To date QuantStart has generally written on topics that are applicable to the beginner or intermediate quant practitioner. However we have recently begun to receive requests from academics and advanced practitioners asking for more content on research-level topics. This is the first in a new series

*- 4 years ago, 14 May 2017, 10:55am -*

What are the Career Paths in Systematic Trading? [Quant Start]

This is the first in an exciting series of posts written by Frank Smietana, a new expert guest contributor to QuantStart. In this insightful new article Frank looks at the different career roles that are available in the systematic trading space. - Mike. The changing role of humans in capital

*- 4 years ago, 2 May 2017, 10:18am -*

What is Deep Learning? [Quant Start]

Almost a year ago QuantStart discussed deep learning and introduced the Theano library via a logistic regression example. Given the recent results of the QuantStart 2017 Content Survey it was decided that an up to date beginner-friendly article was needed to introduce deep learning from first

*- 4 years ago, 8 Mar 2017, 01:15pm -*

Market Regime Detection using Hidden Markov Models in QSTrader [Quant Start]

In the previous article on Hidden Markov Models it was shown how their application to index returns data could be used as a mechanism for discovering latent "market regimes". The returns of the S&P500 were analysed using the R statistical programming environment. It was seen that

*- 4 years ago, 21 Feb 2017, 12:03pm -*

Annualised Rolling Sharpe Ratio in QSTrader [Quant Start]

In this article the issue of when to retire a trading strategy will be considered. It will present brief reasons why strategies eventually end up underperforming. It will discuss how this can be measured over time and then describe an implementation in QSTrader that provides this functionality. The

*- 4 years ago, 13 Feb 2017, 10:38am -*

Advanced Algorithmic Trading - Final Release [Quant Start]

The QuantStart team are very happy to announce that the full version of Advanced Algorithmic Trading has now been released. This brings the total number of pages to 517. To access the full version customers simply need to follow the download link received in the original pre-order purchase email. If

*- 4 years ago, 2 Feb 2017, 09:56am -*

Sentiment Analysis Trading Strategy via Sentdex Data in QSTrader [Quant Start]

In addition to the "usual" tricks of statistical arbitrage, trend-following and fundamental analysis, many quant shops (and retail quants!) engage in natural language processing (NLP) techniques to build systematic strategies. Such techniques fall under the banner of Sentiment Analysis. In

*- 4 years ago, 22 Jan 2017, 11:26pm -*

Aluminum Smelting Cointegration Strategy in QSTrader [Quant Start]

In previous articles the concept of cointegration was considered. It was shown how cointegrated pairs of equities or ETFs could lead to profitable mean-reverting trading opportunities. Two specific tests were outlined–the Cointegrated Augmented Dickey-Fuller (CADF) test and the Johansen

*- 4 years ago, 12 Jan 2017, 08:04am -*

K-Means Clustering of Daily OHLC Bar Data [Quant Start]

In this article the concept of unsupervised clustering will be considered. In quantitative finance finding groups of similar assets, or regimes in asset price series is extremely useful. It can aid in the development of filters, or entry and exit rules. This helps improve profitability for certain

*- 4 years ago, 5 Dec 2016, 09:38am -*

Bootstrap Aggregation, Random Forests and Boosted Trees [Quant Start]

In a previous article the decision tree (DT) was introduced as a supervised learning method. In the article it was mentioned that the real power of DTs lies in their ability to perform extremely well as predictors when utilised in a statistical ensemble. In this article it will be shown how

*- 5 years ago, 28 Nov 2016, 08:30am -*

Singapore November 2016 Trip Report [Quant Start]

A couple of weeks ago I flew out to Singapore to give a talk at the Quantopian Singapore QuantCon. The event was absolutely fantastic with an incredibly diverse and interesting set of talks. I gave a talk was on the topic of Hunting For Alpha In Alternative Data. Here is a brief summary of the trip,

*- 5 years ago, 24 Nov 2016, 11:57am -*

Strategic and Equal Weighted ETF Portfolios in QSTrader [Quant Start]

In a previous article the monthly rebalance feature of the open-source backtesting library QSTrader was demonstrated on a simplistic equities/bonds ETF mix portfolio. In this article new streamlined code will be presented to allow straightforward modification of the portfolio weightings. In

*- 5 years ago, 25 Oct 2016, 08:29am -*

Monthly Rebalancing of ETFs with Fixed Initial Weights in QSTrader [Quant Start]

Many institutional global asset managers are constrained by the need to invest in long-only strategies with zero or minimal leverage. This means that their strategies are often highly correlated to "the market" (usually the S&P500 index). While it is difficult to minimise this

*- 5 years ago, 17 Oct 2016, 06:30am -*

QuantStart New York City October 2016 Trip Report [Quant Start]

Last Tuesday I flew out to New York City, USA to give a talk at the Quantopian NYC Meetup and moderate a panel on "Programming Wars" at the Trading Show New York 2016. Both events were extremely interesting and I met a lot of great people. I want to write a brief summary of the trip as it

*- 5 years ago, 11 Oct 2016, 02:31pm -*

Hidden Markov Models for Regime Detection using R [Quant Start]

In the previous article in the series Hidden Markov Models were introduced. They were discussed in the context of the broader class of Markov Models. They were motivated by the need for quantitative traders to have the ability to detect market regimes in order to adjust how their quant strategies

*- 5 years ago, 3 Oct 2016, 02:07pm -*