Quant Mashup - Quant Insti

Top 7 blogs on Sentiment Trading | 2022 [Quant Insti]

“The intelligent investor is a realist who sells to optimists and buys from pessimists.” - Benjamin Graham Sentiment Trading strategies work on market sentiment and the trends around them. The strategies are often determined by the price and value of an asset that may fluctuate. Market

*- 2 months ago, 13 Nov 2022, 10:05pm -*

Top 10 blogs on Machine Learning in 2022 [Quant Insti]

Algorithmic Trading is seeing a rapid expansion of the application of artificial intelligence (AI) and machine learning (ML). These technological developments have completely transformed Algo trading. Making informed decisions requires carefully analyzing both current and historical market data. In

*- 2 months ago, 7 Nov 2022, 09:30am -*

Long Short Equity Strategy [Quant Insti]

As the name suggests, long short equity strategy is one where we take both long and short positions in different equities. This strategy is normally used by hedge funds to generate greater risk adjusted returns due to its inherently low risk characteristics. In this article, you will learn about how

*- 1 year ago, 13 Sep 2021, 10:39am -*

Dijkstra algorithm [Quant Insti]

Start learning all about the Dijkstra algorithm for finding the shortest path. We briefly review the Kruskal algorithm, Prim algorithm, Johnson algorithm and Bellman algorithm as well. We'll cover: What is the Dijkstra algorithm? How does the Dijkstra algorithm work? Pseudo code of Dijkstra

*- 1 year ago, 30 Aug 2021, 10:51am -*

Linear regression on market data using Python and R [Quant Insti]

This is the second installment of my series on regression analysis used in finance. In the first installment, we touched upon the most important technique in financial econometrics: regression analysis, specifically linear regression and two of its most popular flavours: univariate linear

*- 1 year ago, 26 Aug 2021, 12:57pm -*

Free Resources to Learn Machine Learning for Trading [Quant Insti]

Machine learning is a need in almost every sector today. Sectors like medicine, transportation, healthcare, advertising and financial technology are tremendously reliant on machine learning. Speaking about the financial technology domain, algorithmic trading practice is extremely efficient with the

*- 1 year ago, 16 Aug 2021, 10:44am -*

Stock Market Data And Analysis In Python [Quant Insti]

Are you looking to get stock market data and analyse the historical data in Python? You have come to right place. After reading this, you will be able to: Get historical data for stocks Plot the stock market data and analyse the performance Get the fundamental, futures and options data For easy

*- 1 year ago, 21 Jul 2021, 12:37am -*

The Unconventional Guide To The Best Websites For Quants [Quant Insti]

Generally, a quant is a professional in the financial technology industry who designs complex algorithms with the help of quantitative analysis. Quants are skilled in mathematics, finance and computer skills - a blend which is rare. In the trading domain, quants design and implement the algorithms

*- 1 year ago, 12 Jul 2021, 01:01pm -*

An Introduction to Unsupervised Learning for Trading [Quant Insti]

In the previous blogs, we examined supervised learning algorithms like linear regression in detail. In this blog, we look at what unsupervised learning is and how it differs from supervised learning. Then, we move on to discuss some use cases of unsupervised learning in investment and trading. We

*- 1 year ago, 24 Jun 2021, 08:18pm -*

Kalman Filter Techniques And Statistical Arbitrage In China's Futures Market In Python [Quant Insti]

Contrary to a more developed market, arbitrage opportunities are not readily realised which suggests there might be opportunities for those looking and able to take advantage of them. This project focuses on China's futures market using Statistical Arbitrage and Pair trading techniques. This

*- 1 year ago, 10 May 2021, 10:57am -*

Building a Zipline bundle for Yahoo CSV files [Quant Insti]

Zipline is a fantastic tool for backtesting and data is the main raw material for doing this kind of analysis. In this post, we are going to focus on how to load our own data files. Through an example, we will create a bundle to load data from csv files downloaded from Yahoo finance.

*- 1 year ago, 26 Apr 2021, 07:02am -*

Hierarchical Clustering in Python [Quant Insti]

With the abundance of raw data and the need for analysis, the concept of unsupervised learning became popular over time. The main goal of unsupervised learning is to discover hidden and exciting patterns in unlabeled data. The most common unsupervised learning algorithm is clustering. Applications

*- 1 year ago, 15 Mar 2021, 10:49am -*

Autoregression: Model, Autocorrelation and Python Implementation [Quant Insti]

Time series modelling is a very powerful tool to forecast future values of time-based data. Time-based data is data observed at different timestamps (time intervals) and is called a time series. These time intervals can be regular or irregular. Based on the pattern, trend, etc. observed in the past

*- 1 year ago, 8 Mar 2021, 07:41pm -*

Why is data cleaning important and how to do it the right way? [Quant Insti]

Data cleaning is the time-consuming but the most important and rewarding part of the data analysis process. The process of data analysis is incomplete without cleaning data. But what happens if we skip this step? Suppose we had certain erroneous data in our price data. The incorrect data formed

*- 2 years ago, 29 Jan 2021, 10:35am -*

Fundamental and Sentiment analysis with different data sources [Quant Insti]

Technical analysis of price and volume history won’t cut it alone nowadays. When we want to perform value investing and/or measure a security’s intrinsic value, we need to make a fundamental analysis of the security. To perform fundamental analysis we need data, lots of data. We want fundamental

*- 2 years ago, 27 Jan 2021, 10:27am -*

How to Get Historical Market Data Through Python Apis [Quant Insti]

As a quant trader, you are always on the lookout to create and optimise your trading strategies. Backtesting forms a very important part of this process. And for backtesting, access to historical data is a necessity. But it’s a very daunting task to find decent historical price data for

*- 2 years ago, 15 Jan 2021, 09:45am -*

Gold Price Prediction Using Machine Learning In Python [Quant Insti]

Is it possible to predict where the Gold price is headed? Yes, let’s use machine learning regression techniques to predict the price of one of the most important precious metal, the Gold. Machine Learning in Trading We will create a machine learning linear regression model that takes information

*- 2 years ago, 8 Jul 2020, 10:09am -*

VADER Sentiment Analysis in Algorithmic Trading [Quant Insti]

In Finance and Trading, a large amount of data is generated every day. This data comes in the form of News, Scheduled Economic releases, employment figures, etc. It is clear that the news has a great impact on the prices of stocks. Every trader takes great efforts in keeping track of the latest news

*- 2 years ago, 21 May 2020, 10:26am -*

LSTM Networks: Can They Predict Equity Index Prices? [Quant Insti]

In this article, we will study a deep learning framework based on recurrent neural networks to predict daily equity index price movements. Specifically, the focus will be on long short-term memory (LSTM) networks - which are a type of recurrent neural network. Different types of inputs and network

*- 2 years ago, 5 May 2020, 09:29am -*

Trend Analysis using Open Interest, Rollover and FII/DII Activity in Python [Quant Insti]

The first quarter of 2020 has been one of the most challenging times in the post World War II era. The crash in oil prices due to geopolitical reasons and the COVID-19 global pandemic were the dominant themes. Financial markets act as bellwethers and give us a reflection of the overall sentiment for

*- 2 years ago, 23 Apr 2020, 10:35am -*

Markov Model - An Introduction [Quant Insti]

In this post, we will learn about Markov Model and review two of the best known Markov Models namely the Markov Chains, which serves as a basis for understanding the Markov Models and the Hidden Markov Model (HMM) that has been widely studied for multiple purposes in the field of forecasting and

*- 2 years ago, 23 Mar 2020, 11:09am -*

Building and Regularizing Linear Regression Models in Scikit-learn [Quant Insti]

In the last blog, we examined the steps to train and optimize a classification model in scikit learn. In this blog, we bring our focus to linear regression models. We will discuss the concept of regularization, its examples(Ridge, Lasso and Elastic Net regularizations) and how they can be

*- 2 years ago, 9 Mar 2020, 10:51am -*

Essential Books on Algorithmic Trading [Quant Insti]

When you are completely immersed in wanting to learn something new, you start looking for everything that surrounds the learning process. And with the aspiration to learn Algorithmic Trading, there must be certain questions crowding your mind, like: How do I learn Algorithmic Trading? What are the

*- 2 years ago, 24 Feb 2020, 09:50am -*

All About Time Series: Analysis and Forecasting [Quant Insti]

Since predicting the future stock prices in the stock market is crucial for the investors, Time Series and its related concepts help in organizing the data for accurate prediction. In this article, we are focusing on Time Series, its analysis and forecasting. In this article, we aim to cover the

*- 2 years ago, 23 Feb 2020, 10:04am -*

Introduction to XGBoost in Python [Quant Insti]

Ah! XGBoost! The supposed miracle worker which is the weapon of choice for machine learning enthusiasts and competition winners alike. It is said that XGBoost was developed to increase computational speed and optimize model performance. As we were tinkering with the features and parameters of

*- 2 years ago, 13 Feb 2020, 09:59am -*

Predicting Bank Nifty Open Price Using Deep Learning [Quant Insti]

With the advent of several machine / deep learning models, there have been several theories emerging in applying these techniques for stock market prediction because of the difficulty and complexity it involves. In this project, we’re trying to solve the problem using a classifier to predict

*- 3 years ago, 16 Jan 2020, 10:39pm -*

Principal Component Analysis in Trading [Quant Insti]

As trading becomes automated, we have seen that traders seek to use as much data as they can for their analyses. But we all know that adding more variables leads to more complications and that in turn might make it harder to come to solid conclusions. Think about it, we have more than 3000 companies

*- 3 years ago, 13 Jan 2020, 02:32am -*

Monte Carlo Simulation: Definition, Example, Code [Quant Insti]

Years ago, I had made it to the ﬁnal round in an interview for a Senior Delta One/Quantitative Futures position at an HFT ﬁrm (unnamed for privacy). Things were going well, I had answered two out of three of those ridiculous questions that are only applicable in Subsaharan Africa or Finance

*- 3 years ago, 10 Dec 2019, 10:55am -*

Automated Trading Systems: Architecture, Protocols, Types of Latency [Quant Insti]

The automated trading system or Algorithmic Trading has been at the centre-stage of the trading world for more than a decade now. A “trading system”, more commonly referred as a “trading strategy” is nothing but a set of rules, which is applied to the given input data to generate entry and

*- 3 years ago, 29 Nov 2019, 05:35am -*

Pivot Point Strategy [Quant Insti]

In this project, we analyze different intraday trading strategies with Pivot Points. After defining different ways of calculating the Pivot Point, we do a Backtest with the most classic strategies and a different variant to those normally taught in textbooks. To learn about Pivot Point and how to

*- 3 years ago, 23 Nov 2019, 01:35am -*

Parabolic SAR - An Introduction [Quant Insti]

In the market, it is crucial to spot the trend, but it is equally important to detect when the trend ends. Getting out of the trade is more difficult than entering the trade. In this blog, we will talk about one such technical indicator, the Parabolic SAR indicator, which helps in identifying when

*- 3 years ago, 18 Nov 2019, 08:38am -*

Introduction to Support Vector Machines [Quant Insti]

Support Vector Machines were widely used a decade back, but now they have fallen out of favour. The below data from google trends can establish this more clearly. (Source: Google Trends) Why did this happen? As more and more advanced models were developed, support vector machines fell out of favour.

*- 3 years ago, 5 Nov 2019, 09:38am -*

Pairs Trading Basics: Correlation, Cointegration And Strategy [Quant Insti]

Pairs trading is supposedly one of the most popular types of trading strategy. In this strategy, usually a pair of stocks are traded in a market-neutral strategy, i.e. it doesn’t matter whether the market is trending upwards or downwards, the two open positions for each stock hedge against each

*- 3 years ago, 23 Oct 2019, 11:45am -*

Scikit Learn Tutorial: Installation, Requirements And Building Classification Model [Quant Insti]

Scikit-learn is one of the most versatile and efficient Machine Learning libraries available across the board. Built on top of other popular libraries such as NumPy, SciPy and Matplotlib, scikit learn contains a lot of powerful tools for machine learning and statistical modelling. No wonder scikit

*- 3 years ago, 17 Oct 2019, 07:33pm -*

The Hidden Truths About Stop loss In Trading [Quant Insti]

A stop-loss order, or stops as is generally said, is an order placed with the broker to sell (or buy) if the stock of a company which you hold, reaches a pre-determined price in order to avoid large losses. In the trading world, the use of stops is seen as an essential part of risk control and money

*- 3 years ago, 7 Oct 2019, 06:55pm -*

Trading Using Machine Learning In Python [Quant Insti]

In recent years, machine learning, more specifically machine learning in Python has become the buzz-word for many quant firms. In their quest to seek the elusive alpha, a number of funds and trading firms have adopted to machine learning. While the algorithms deployed by quant hedge funds are never

*- 3 years ago, 26 Sep 2019, 09:45am -*

K-Means Clustering Algorithm For Pair Selection In Python [Quant Insti]

From showing related articles at the end of the article you have browsed through to creating a personalised recommendation based on your viewing habits, you would be surprised of the number of times you have been interacting with the K-means algorithm without even realising it. The above examples

*- 3 years ago, 11 Sep 2019, 11:42pm -*

Neural Network In Python: Introduction, Structure and Trading Strategies [Quant Insti]

You are probably wondering how a technical topic like Neural Network Tutorial is hosted on an algorithmic trading website. Neural network studies were started in an effort to map the human brain and understand how humans take decisions but algorithm tries to remove human emotions altogether from the

*- 3 years ago, 5 Sep 2019, 12:47pm -*

Trading China A-Share Stocks Based On Social Media Data Analysis In Python [Quant Insti]

In this article, we will understand how natural language processing, sentiment analysis and social media play a role in the share markets with the help of Python. This would be explained with respect to the trading in China markets A-share stocks. This article is the final project submitted by the

*- 3 years ago, 21 Jun 2019, 09:47am -*

Gini Index For Decision Trees [Quant Insti]

Decision trees are often used while implementing machine learning algorithms. The hierarchical structure of a decision tree leads us to the final outcome by traversing through the nodes of the tree. Each node consists of an attribute or feature which is further split into more nodes as we move down

*- 3 years ago, 18 Apr 2019, 10:48am -*

Intro to Hidden Markov Chains [Quant Insti]

In a situation where you wish to determine the returns on investment, one may have all the expertise to do this but without certain information (missing pieces) it would not be possible to derive to a conclusive figure. In practical terms “assume you have the value of all returns of all assets in

*- 3 years ago, 2 Apr 2019, 09:37am -*

Random Forest Algorithm In Trading Using Python [Quant Insti]

In this blog, we’ll discuss what are Random Forests, how do they work, how they help in overcoming the limitations of decision trees. With the boom of Machine Learning and its techniques in the current environment, more and more of its algorithms find applications in various domains. The functions

*- 3 years ago, 12 Mar 2019, 10:33am -*

Top 10 Machine Learning Algorithms For Beginners [Quant Insti]

Alan Turing, an English mathematician, computer scientist, logician, and cryptanalyst, surmised about machines that, “It would be like a pupil who had learnt much from his master but had added much more by his own work. When this happens I feel that one is obliged to regard the machine as showing

*- 3 years ago, 14 Feb 2019, 12:36pm -*

Cross Validation in Machine Learning Trading Models [Quant Insti]

The application of the machine learning models is to learn from the existing data and use that knowledge to predict the future unseen events. The model needs to be thoroughly tested and cross-validated to profitably trade in live trading. After reading this, you will be able to: Cross validate

*- 4 years ago, 28 Jan 2019, 09:52pm -*

Algorithmic Trading Regulations - European Union [Quant Insti]

A game of cat and mouse. Technological development more often than not stays ahead of regulators. Each new technological advance or disruption carries risks for the stability of things and advantages for those who are at the forefront. Regulators try to set rules and good practices that limit

*- 4 years ago, 19 Dec 2018, 11:29am -*

Random Walk Simulation Of Stock Prices Using Geometric Brownian Motion [Quant Insti]

In this blog on random walk simulation, we will learn how to simulate stock prices. Future stock prices are very hard to predict and are dependent on the past trend and volatility. While simulating the stock prices one has to give reasonable weightage to these two parameters. The random walk model

*- 4 years ago, 14 Dec 2018, 10:44am -*

RNN, LSTM, GRU For Trading [Quant Insti]

In my previous article, we have developed a simple artificial neural network and predicted the stock price. However, in this article, we will use the power of RNN (Recurrent Neural Networks), LSTM (Short Term Memory networks) & GRU (Gated Recurrent Unit Network) and predict the stock price. We

*- 4 years ago, 6 Dec 2018, 10:49am -*

Decision Tree For Trading Using Python [Quant Insti]

Decision Trees, are a Machine Supervised Learning method used in Classification and Regression problems, also known as CART. Remember that a Classification problem tries to classify unknown elements into a class or category; the output always are categorical variables (i.e. yes/no, up/down,

*- 4 years ago, 22 Nov 2018, 06:44pm -*

Forward Propagation In Neural Networks [Quant Insti]

In this blog, we will intuitively understand how a neural network functions and the math behind it with the help of an example. In this example, we will be using a 3-layer network (with 2 input units, 2 hidden layer units, and 2 output units). The network and parameters (or weights) can be

*- 4 years ago, 6 Nov 2018, 10:51am -*

Deep Learning - Artificial Neural Network Using Tensorflow In Python [Quant Insti]

In this article, we are going to develop a machine learning technique called Deep learning (Artificial Neural network) by using tensor flow and predicting stock price in python. At the end of this article you will learn how to build artificial neural network by using tensor flow and how to code a

*- 4 years ago, 10 Sep 2018, 11:22am -*