Quant Investing

You will sell on 1st July and buy on the same date. The constraint is that you have a fixed capital, say 10 lakhs, in this case.

In short, yes.

No. The assumption is that all news ultimately gets reflected in the price, so there is no point in trying to interpret news. And to be truthful, it is too difficult for me, at this time. I do have some thoughts on adding social media and sentiment analysis for my fundamental investing, but nothing as of now for quant.

I have replied to the stop loss mechanism in earlier posts. It is a slightly complex one with multiple layers of stop losses. I don’t put the money in liquid funds. I keep it in cash.

Hi Abhishek,

Do you think you can share constituents of the Quant Portfolio performance? Whatever is possible, may be 3 months prior, as these are already executed. And not share current/previous months performance, if there are constraints.

Proof of the pudding is always in the eating. Any performance stats without relevant data points backing up, is NOT that instructive, or really value-additive for fellow-learners.

This is just my viewpoint. You can ignore it, if you think differently.
But I do hope you can accommodate that in your approach of sharing what is turning out to be a potentially promising addition to our investing strategies.

6 Likes

Hi Donald,

I already had that in mind. Will be posting the actual quantletters once there useful life is over. Other than the list of stocks, it also has a short writeup related to quant investing, so I presume would be useful for that as well.

So, here are the Mar and April quantletters.

Disclaimer: These are for educational purposes only and not to be construed as investment advice.
Quantletter_Q30_Apr2020.pdf (301.8 KB)
Quantletter_Q30_Mar2020.pdf (222.2 KB)

20 Likes

How to filter low volatility out of a set of say top gainers. Is there any screener, filter available or you use your software.

1 Like

I am going for minimum volatility in returns, so i calculate SD of daily returns in excel for each shortlisted stock. The toughest part is good data collection. For that I am currently using Yahoo Finance(free).
The process of volatility calculation can be easily found on google. :slightly_smiling_face:

2 Likes

Hi Gaurav,

I have created this sheet where you can quickly check up on a stock’s price history.

7 Likes

Is there some quant strategies available which will profit as and when markets correct?

You can device quant strategies for anything that can be expressed in numbers. However, it is difficult in India as short selling is not allowed. Only shorting is possible using futures and options.

There are lot of breakdown strategies possible even using index futures. Simple Donchian channel or Bollinger Band breakdown strategies, when applied consistently along with a regime filter will give decent results.

3 Likes

I have a basic query regarding selection of stocks for backtesting. Obviously one cannot choose the current index constituents because backtesting them would mean our strategy is likely to perform well. They are there in the Index for a reason!

So how do I get a historical list of NIFTY50/SENSEX 30 constituents so that I can use those stocks at various points in time while running the backtest?

These would be available from the different data providers or also in the bse archive data.

@basumallick Great Thread. Thanks for posting this.

How this strategy will perform in sideways market. More than 50 % of time market is moving sideways.

Your observation that 50% of the time market is moving sideways is based on recent observations of the last 2-3 years. Historically, that has not been the case. We see very strong bull and bear markets with some intervening time in a trading range (sideways market).

Any growth or momentum-based strategy will perform very well in a trending market but no so well in a sideways market. But in general, is should do better than normal index returns during most times.

2 Likes

Using a Regime Filter

A regime filter or a market regime filter is a tool to help us conceptually understand the kind of market we are in. As a systematic investor, we can increase our odds of success by adding a regime filter to our arsenal. It tells us, based on how we have defined it if we are in a bull market or a bear market. We would think differently about market risk in different market scenarios.

A simple example of a regime filter is using the 200 day moving average. If the index of your choice is above the 200 day moving average, then you define it as a bull market and below it as a bear market. You can design your portfolio strategy to hold full allocations in stocks if you are in a bull market and 50% allocated in a bear market.
So, with that basic logic you can start constructing a slightly more realistic and slightly more nuanced regime filter.

First, define the market conditions you want to address – superbull, bull, bear, superbear. The reason for doing that is you want to be cautious in the market extremes of superbear and superbull conditions and aggressive in the bear and bull conditions (for long-short strategies). Then use a combination of indicators like RSI and 50 & 200 day moving average to define the selected conditions. For example, above 200 dma and 70 RSI you define as superbull and above 200 dma and above 50 RSI as bull phase.

Another trick that can be used is to use multiple indices. For example, you can use the average of Nifty, Nifty Next 50 and Nifty 500 in equal proportions to define your market. For a long only investor, it may increase the odds of success to be buyer only when the regime filter is indicating a bull market.

14 Likes

Adding the May 2020 Quantletter. This basket is now closed.

The May basket was up +24.53% including brokerage (0.15% both ways … we use a discount broker).

Note: these are real results and NOT backtest results.

Quantletter_Q30_May2020.pdf (267.8 KB)

10 Likes

@basumallick @vivek_mashrani
What are your views on risk parity and portfolio % allocation strategies.
I think beginners are better off with an equal allocation model (Keeping it simple works better most of the times :smile:). But do you guys allocate based on say: retuns volatility , ATR etc.?

Risk parity is more a portfolio allocation strategy and usually not used in single asset class portfolios. There is no study internationally which proves conclusively the high volatility strategies are higher risk and consequently lower return.

3 Likes

Very interesting thread sir, thank you for sharing.
Can you please share quant letter June month as Reset period is already passed?

Sorry… I have been really busy with multiple things and have not been able to keep up with the thread here. Will continue to post on quant thoughts in the upcoming months.

Meanwhile, here is the June Quantletter.

Quantletter_Q30_June2020.pdf (712.7 KB)

6 Likes

Loved this initiative Dada! I have a simple question: My observation is that this system captures much of the upside while the market goes up. In your opinion, what pretends the severe drawdown during market downturns(as observed during backtest)?