Quant Mashup - Quant Insti
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
- 5 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
- 5 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
- 5 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
- 5 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
- 5 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
- 5 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
- 5 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
- 5 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
- 6 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
- 6 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
- 6 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
- 6 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
- 6 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
- 6 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,
- 6 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
- 6 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
- 6 years ago, 10 Sep 2018, 11:22am -
Optimal Portfolio Construction Using Machine Learning [Quant Insti]
In this post, we will learn about the Stereoscopic Portfolio Optimization framework and how it can be used to improve a quantitative trading strategy. We’ll also review concepts such as Gaussian Mixture Models, K-Means Clustering, and Random Forests. Our objective is to determine whether we can
- 6 years ago, 11 Aug 2018, 10:46am -
Kalman Filter Techniques And Statistical Arbitrage In China's Futures Market In Python [Quant Insti]
This article is the final project submitted by the author as a part of his coursework in Executive Programme in Algorithmic Trading (EPAT™) at QuantInsti®. Do check our Projects page and have a look at what our students are building. About the Author Xing Tao is a Bachelor in Computer Science
- 6 years ago, 4 Jun 2018, 08:30am -
Using Quadratic Discriminant Analysis To Optimize An Intraday Momentum Strategy [Quant Insti]
In this post, we will create an intraday momentum strategy and use QDA as a means of optimizing our strategy. We’ll begin by reviewing Linear Discriminant Analysis or LDA and how it is associated with QDA, gain an understanding of QDA and when we might implement this technique instead of Linear
- 6 years ago, 24 May 2018, 09:51am -
The Unconventional Guide To The Best Websites For Quants [Quant Insti]
Technology moves at a startling speed and it has been the same case in the algorithmic and quantitative trading domain. Traders around the world are making use of Machine Learning, Artificial Intelligence, Blockchain, Neural Networks, Deep Learning and similar techniques to execute their trades. One
- 7 years ago, 6 Feb 2018, 09:59am -
Machine Learning K-Nearest Neighbors (KNN) Algorithm In Python [Quant Insti]
Machine Learning is one of the most popular approaches in Artificial Intelligence. Over the past decade, Machine Learning has become one of the integral parts of our life. It is implemented in a task as simple as recognizing human handwriting or as complex as self-driving cars. It is also expected
- 7 years ago, 24 Jan 2018, 03:00pm -
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. We will create a machine learning linear regression model that takes information from the past Gold ETF (GLD)
- 7 years ago, 22 Jan 2018, 02:43pm -
Covered Call Options Strategy using Machine Learning [Quant Insti]
A covered call is used by an investor to make some small profit while holding the stock. Mostly the reason why a trader would want to create a covered call is because the trader is bullish on the underlying stock and wants to hold for long-term, but the stock doesn’t pay any dividend.The stock is
- 7 years ago, 17 Jan 2018, 01:10pm -
Machine Learning Classification Strategy In Python [Quant Insti]
In this blog, we will step by step implement a machine learning classification algorithm on S&P500 using Support Vector Classifier (SVC). SVCs are supervised learning classification models. A set of training data is provided to the machine learning classification algorithm, each belonging to one
- 7 years ago, 18 Dec 2017, 09:26am -
How To Get Funding For Your Trading Strategy [Quant Insti]
So, it’s been some time since you’ve been thinking of making more money out of your successful trading strategy. And why should you not? After all, you’ve worked hard for it and there is only a small % of people who are successful in this business. The idea is to add more funds to your trading
- 7 years ago, 10 Nov 2017, 01:03pm -
Trading Using Decision Tree Classifier Part 1 [Quant Insti]
The strategy in this blog will cover no normal technical indicators, but some of my own creation. Also, we will see the difference between strategy performance on test and train data along with respect to the changes in the size of the train data and the prediction length. Unlike in my previous
- 7 years ago, 31 Oct 2017, 11:50am -
Tips To Start Your Own Business In Algorithmic Trading [Quant Insti]
You are doing well at work but have always felt that need to cater to the aspiration of doing something more, building something of your own? You are passionate about the chosen field of work. You have already explored different organizations and their work processes extensively. Entrepreneurship
- 7 years ago, 16 Oct 2017, 11:03am -
Option Chain Extraction For NSE Stocks Using Python [Quant Insti]
We are back again with another post on Python. Our last post, “Basic Operations on Stock data using Python” was well received and we are glad to see the number of likes & shares for the post on various quant trading and Python forums. Keep them coming! Financial market data is a very
- 7 years ago, 21 Sep 2017, 12:31pm -
Statistical Arbitrage Using Pair Trading In The Mexican Stock Market [Quant Insti]
There are very few algo trading firms/strategies that are operating in the Mexican stock exchange. I believe this should provide great opportunities as there is little competition. Contrary to a more developed market, arbitrage opportunities aren’t readily realized which suggests there might be
- 7 years ago, 29 Aug 2017, 11:03am -
Dispersion Trading Using Options [Quant Insti]
This article is the final project submitted by the author as a part of his coursework in Executive Programme in Algorithmic Trading (EPAT™) at QuantInsti™. Do check our Projects page and have a look at what our students are building. Introduction The Dispersion Trading is a strategy used to
- 7 years ago, 29 Jun 2017, 05:30am -
Machine Learning In Python for Trading [Quant Insti]
At the end of my last blog, I had asked a few questions. Now, I will answer them all at the same time. I will also discuss a way to detect the regime/trend in the market without training the algorithm for trends. But before we go ahead, please use a fix to fetch the data from Google to run the code
- 7 years ago, 19 Jun 2017, 10:38am -
An Example of Python Trading Strategy in Quantiacs Platform [Quant Insti]
Algorithmic trading has seen great traction in recent years and the numbers of students, engineering graduates, and finance professionals looking to explore this lucrative domain has been growing exponentially with each passing year. Are you among the ones looking to learn quant skills and also make
- 7 years ago, 23 May 2017, 11:18am -
Trading Strategy: 52-Weeks High Effect in Stocks [Quant Insti]
In today’s algorithmic trading having a trading edge is one of the most critical elements. It’s plain simple. If you don’t have an edge, don’t trade! Hence, as a quant, one is always on a look out for good trading ideas. One of the good resources for trading strategies that have been gaining
- 7 years ago, 8 May 2017, 12:12pm -
Upcoming Webinar: How to use Mixture Models to Predict Market Bottoms w/ @BlackArbsCEO [Quant Insti]
The webinar will explain Mixture Models and explore its application to predict an asset’s return distribution and identify outlier returns that are likely to mean revert. The webinar will cover Why bother? Motivating experimentation with Mixture Models How do Mixture Models work? (An intuitive
- 7 years ago, 14 Apr 2017, 09:14pm -
Forecasting Stock Returns using ARIMA model [Quant Insti]
“Prediction is very difficult, especially about the future”. Many of you must have come across this famous quote by Neils Bohr, a Danish physicist. Prediction is the theme of this blog post. In this post, we will cover the popular ARIMA forecasting model to predict returns on a stock and
- 8 years ago, 9 Mar 2017, 12:31pm -
Making a Career in Algorithmic Trading [Quant Insti]
The advent of algorithmic trading in the late last century caused a massive tectonic shift in the way trading took place in exchanges worldwide. Be it trading in stocks, derivatives, Forex or commodities, trading firms worldwide adopted algorithmic trading in a big way. The last couple of decades
- 8 years ago, 31 Jan 2017, 01:55pm -
Machine Learning: An Introduction to Decision Trees [Quant Insti]
A decision tree is one of the widely used algorithms for building classification or regression models in data mining and machine learning. A decision tree is so named because the output resulting from it is the form of a tree structure. Visualizing a sample dataset and decision tree structure
- 8 years ago, 22 Jan 2017, 11:01am -
Essential Books on Algorithmic Trading [Quant Insti]
These are some of the questions that popular forums get inundated with from aspiring novice algorithmic traders around the world. A good starting point for a wannabe trader would be to pick up a good book, immerse oneself, and absorb all that the book has to offer. This post details down the core
- 8 years ago, 18 Jan 2017, 11:27am -
Recommended Quant Readings for you – Best of 2016! [Quant Insti]
As 2016 nears its finish line, here we are with the list of recommended reading on our blog with the top-rated blog posts, as voted by you! Enjoy the last few days doing what you love most! Read on. System Architecture of Algorithmic Trading This one is straight out of a lecture in the curriculum of
- 8 years ago, 27 Dec 2016, 06:08pm -
Pairs Trading on ETF - EPAT Project Work [Quant Insti]
This article is the final project submitted by the author as part of his coursework in Executive Programme in Algorithmic Trading (EPAT™) at QuantInsti. You can check out our Projects page and have a look at what our students are building after reading this article. About the AuthorEPAT student
- 8 years ago, 9 Dec 2016, 10:30am -
Sentiment Analysis on News Articles using Python for traders [Quant Insti]
In our previous post on sentiment analysis we briefly explained sentiment analysis within the context of trading, and also provided a model code in R. The R model was applied on an earnings call conference transcript of an NSE listed company, and the output of the model was compared with the
- 8 years ago, 2 Dec 2016, 05:26pm -
FX Market Pairs Trading Strategy [Quant Insti]
This article is the final project submitted by the author as a part of his coursework in Executive Programme in Algorithmic Trading (EPAT) at QuantInsti. Do check our Projects page and have a look at what our students are building. About the Author Harish Maranani did his Bachelors in Technology
- 8 years ago, 28 Nov 2016, 03:38pm -
Pandas tutorial : Convert tick by tick data to OHLC data [Quant Insti]
In this post, we will explore a feature of Python pandas package. We usually find queries about converting tick-by-tick data into OHLC (Open, High, Low and Close) frequently. This can be accomplished with minimal effort using pandas package. The OHLC data is used for performing technical analysis of
- 8 years ago, 11 Nov 2016, 09:59am -
Python Data Visualization using Bokeh for Algo Traders and Quants [Quant Insti]
A picture is worth a thousand words or said a wise woman a hundred years ago. True to every word of the idiom, the beauty of visualization lies in how clearly it might convey multiple messages. Visualization of data is one of the key functions of a data scientist and decoding the visual messages is
- 8 years ago, 7 Nov 2016, 07:28am -
Connecting FXCM over FIX (QuickFix engine) [Quant Insti]
We talked about the defacto standard for message communication in our previous article on FIX protocol. “The Financial Information Exchange (FIX) Protocol is a message standard developed to facilitate the electronic exchange of information related to securities transactions. It is intended for use
- 8 years ago, 24 Oct 2016, 08:56am -
Algorithmic Trading Basics for New Algorithmic Traders [Quant Insti]
With more than 70% of the trading volumes in the US markets being automated, the rise of the algorithms seem more inevitable than ever before. The mechanical jobs are shifting to computers and only those who can tame the machines can rule the trade markets. Equipping oneself with the skills of
- 8 years ago, 22 Oct 2016, 06:00pm -
Algorithmic Trading in Indian Markets using Python [Quant Insti]
Algorithmic Trading in Indian Markets using Python We have told you why Python is one of the preferred languages to do algo trading in this article. We have also told you how algorithmic trading in India. Since we are gearing up for our webinar on Trading in Indian Markets using Python (Not
- 8 years ago, 17 Oct 2016, 06:28am -
Implementing Predictive Modeling in R for Algorithmic Trading [Quant Insti]
Predictive modeling is a process used in predictive analytics to create a statistical model of future behavior. Predictive analytics is the area of data mining concerned with forecasting probabilities and trends [1] The predictive modeling in trading is a modeling process wherein we predict the
- 8 years ago, 7 Oct 2016, 01:41pm -
Implementing Python in Interactive Brokers C++ API [Quant Insti]
In the previous article on IBPy Tutorial to implement Python in Interactive Brokers API, I talked about Interactive Brokers, its API and implementing Python codes using IBPy. In this article, I will be talking about implementing python in IB’s C++ API using a wrapper, written by Dr. Hui Liu. About
- 8 years ago, 3 Oct 2016, 11:46am -