TRADING

Options are complex financial instruments that often attract sophisticated traders and investors. In investment banks and hedge funds, they’re often the instrument of choice when one wants to engage in sophisticated trading strategies such as volatility arbitrage, dispersion trading. Another important role of options is for hedging and risk management purposes. Recently, there is a…

Read More Overlaying Options Spreads on a Technical Trading Strategy

Trading using market sentiment indicators is an approach that analyzes the market sentiment data to make trading and investing decisions. Due to the increasing popularity of social networks, social media data in general and Twitter data in particular have been used growingly in the construction of sentiment indicators. Sentiment analysis can use natural language processing,…

Read More Using Twitter Data as Sentiment Indicator, a Trading Strategy Based on President Trump’s Twits

We typically divide the markets into 2 regimes: trending or mean-reverting. In a recent paper [1], the authors not only divided the markets into these 2 regimes but also added a third one, a so-called random walk regime. Investors generally go long when the market is rising and short when the market is falling. In…

Read More Using Push-Response, Variance-Ratio, and P+/P- Tests to Characterize the Markets.

In a previous post, we demonstrated the mean-reverting and trending properties of SP500. We subsequently developed a trading system based on the mean-reverting behavior of the index. In this installment, we will develop a trend-following trading strategy. Trend following or trend trading is a trading strategy according to which one should buy an asset when…

Read More Trend-Following Trading System, Quantitative Trading in Python

In a previous post, we presented a time series analysis of the SP500 index and demonstrated its mean-reverting and trending behaviour. Subsequently, we designed trading strategies exploiting these mean-reverting and trending properties of SP500. Does this mean that the SP500, and stock market indices in general, can be predicted? In a recent publication [1], the…

Read More Can the SP500 Index be Predicted?

In a previous post, we demonstrated the mean-reverting and trending properties of SP500. In this follow-up post, we will develop a simple trading system exploiting the mean-reverting behaviour of this market index. To generate buy and sell signals, we will use simple moving averages as noise filters. The simple moving average takes an average value…

Read More Mean-Reverting Trading System-Quantitative Trading in Python

A technical or quantitative trading system on a linear (i.e. delta 1) instrument is basically a bet on the autocorrelation of the underlying. The autocorrelation properties of the underlying can be examined directly through autocorrelation functions or indirectly through the Hurst exponent. In this post, we are going to examine the mean-reverting and trending properties…

Read More Autocorrelation Properties of SP500-Quantitative Trading in Python

Historical volatility (HV) is a useful measure to gauge market uncertainty. Recall that, In finance, volatility (usually denoted by σ) is the degree of variation of a trading price series over time, usually measured by the standard deviation of logarithmic returns. Historic volatility measures a time series of past market prices… Investors care about volatility…

Read More Exponentially Weighted Historical Volatility in Excel-Volatility Analysis in Excel

In the previous installments, we presented the concept of Modern Portfolio Theory. We also provided an optimization algorithm, written in Python, for searching for the optimal portfolio. To continue, we are going to perform some numerical experiments. Specifically, we are going to use the portfolio optimization program developed in the previous post in order to…

Read More Modern Portfolio Theory-Effect of Diversification on the Optimal Portfolio-Portfolio Management in Python

In the previous installment, we presented a description of the Model Portfolio Theory and provided a concrete example in Python. We also explained the concept of an Efficient Frontier and provided a visual presentation of it. Recall that, … the efficient frontier (or portfolio frontier) is an investment portfolio which occupies the “efficient” parts of…

Read More Modern Portfolio Theory-Searching For the Optimal Portfolio-Portfolio Management in Python