Advance Trading Algorithms Explanation
Advance Trading Algorithms Explanation
On basis of Accruals
Accruals = (Change in CA – Change in Cash) – (Change in CL – Change in STD – Change in TP) – Dep
CA – Current Assets
CL – Current Liabilities
TP – Tax Payable
Dep – Depreciation
We divide the cash from operating activities by average total assets to find an optimum ratio in case
the 2 companies that are being compared are comparable.
Idiosyncratic Risk – Risks that are applicable to a specific company and do not affect the working of
the entire economy as a whole. Example Court case of a specific company, Death of a CEO, ETC.
Systematic Risk – Risk that affects the working of the economy as a whole. Example of Inflation,
Deflation, Recession, ETC.
On basis of BETA
Beta
The Sensitivity of each company to Systematic Risk is known as Beta.
Alpha
Alpha is the extraordinary return that we make.
Process
Rank the stocks based and beta(monthly).
Find the median beta of all the firms.
Next, divide the firms into above-median and below-median beta stocks.
Strategy
First, find the median beta of all the firms.
Calculate the average beta of each company for a period of 6 months. This 6 months is the
time just before investing in the stock.
Stocks that have an average beta more than the median beta are overvalued and stocks that
have an average beta less than the median beta are undervalued. (Refer to the first 2 points
in betting against beta).
The optimum time to invest in the market in this strategy is 1 month.
Momentum – Momentum refers to the tendency of rising stock prices to rise further and
falling stock prices to fall further.
Anomaly
When security or a group of securities perform contrary to the notion of efficient markets, we call it
an anomaly.
Momentum Types
Short-Term Momentum – The lookback period is anything below 1 month. According to research,
stocks with positive short-term momentum, are losers in the near-term future. And short-term
losers, that is, stocks with negative short-term momentum, are winners in the near-term future. This
means, when we measure momentum over a short time horizon, we can expect to see a reversal in
short-term future items.
Long-term Momentum – The Lookback period is anything between 3 years to 5 years. They show
that losers outperform winners in the next three years. The same results hold good for a look-back
period of five years also. This shows that long-term momentum, in a way similar to short-term
momentum, leads to return reversals in the future.
Notes
There is no return reversal but continuation of returns when you use a intermediate term
momentum.
The best strategy is when you use a look-back period of 12 months and a holding period of 3
months.
The Third point, they find that the excess returns that you get by using an intermediate-term
momentum strategy are not long-lasting. In other words, if you use a look-back period of 12
months and hold the stocks for a long term, then again you experience return reversals.
Data Preparation
Screen out the il-liquid stocks and keep only the liquid stocks.
You will now calculate the daily returns from these stock prices. You'll take these daily returns, and
compound them to calculate the monthly returns.
Trading
As mentioned previously, long the winner portfolio, and short the loser portfolio. That is you're
longing for stocks with the strongest momentum and shorting stocks with the lowest momentum.
The results show that returns from the winners’ portfolios are more, compared to the returns from
the losers’ portfolios.
Holding Period
Research shows that abnormal returns generated in the first year dissipate in the following 2 years.
If we study returns for three years after the creation of a portfolio, in the first year the portfolio
generates positive returns. But the returns keep decreasing in the subsequent two years. So it is not
advisable to have a very long holding period.
Normalized Return
Normalized earnings are adjusted to remove the effects of seasonality, revenue, and expenses that
are unusual or one-time influences.
Research has shown that a portfolio of very diversified stocks based on the time series momentum
strategy is stable and robust.
(NOTE)
NO MATTER WHAT THE STRATEGY MAY BE,
DIVERSIFICATION IN STOCKS IS A MUST AND SHOULD
NEVER BE AVOIDED
Call Option – is buying the stock. When we book the stock to be bought after a certain point of time
at the price we fix now but pay a small amount of premium(say booking amount) right now is called
a call option. In this, the buyer is supposed to pay the price of the stock that is going on at the time
when he buys the rights to buy the stock. So when the price of the stock falls then the buyer has to
face a loss of the premium amount
G1(Earning Returns on Assets) – It is defined as the ratio of net income before extraordinary
items divided by average total assets. Here the earning returns on assets of firms is compared with
the median earning returns of all the low book to market firms in the same industry at the same
time as the same firm. We assign a value 1 if the firm’s return on asset based on earnings is greater
than the median return on assets for low book to market firms in the same industry and 0 otherwise.
G2(Cash Flow Returns on Assets) – Cashflow return on asset is defined as the ratio of cash
from operations scaled by average total assets. The signal is equal to 1 if the firm’s cash flow return
in asset exceeds the median for all low book to market firms in the same industry and 0 otherwise.
G3(Accruals) - Firms with a greater accrual component in their earning generally underperform
in the future on the basis of the lower quantity of their earnings. If the cash flow from operations
exceed net income then we assign a value 1 to G3 and if the cash flow from operations does not
exceed net income then we assign a value 0 to G3.
Group 2 (Used to take care of the firms that are overvalued in the
market)
(Made for firms that are currently overvalued)
(Based on Variability of performance)
G4(Based on Stability of Earnings) – It is calculated as variance of firm’s quarterly earnings
return on assets over the last 4 years. If the firm’s earnings variability is less than the median
average earnings variability of all low book-to-market0 firms in the same industry then it is favorable
for the firm and a value of 1 is assigned.
Group 3(To take care of the firms whose book value has been
temporarily suppressed due to accounting rules)
Strategy
Sample Selection –
We have to calculate low book to market ratios for the current and the previous year
The firms with negative book to market ratios are not used in this analysis.
Next arrange the firms in ascending order according to their book to market ratios of previous year.
Data Collection –
Gather all the financial information available for these low book to market firms. In case of lack of
past year’s information, the information for the current year is used.
Consideration of only those firms which have earnings and cash flow information available.
This step involves calculation of signals. The three signals relating to profitability and cash flows that
is all the three groups of signals.
Types
Uses
Practical use
Conclusion
Infographics