Saturday, November 16, 2019

Technical Indicators and Strategies

What are Technical Indicators?

Indicators, such as moving averages and Bollinger Bands®, are mathematically-based technical analysis tools that traders and investors use to analyze the past and predict future price trends and patterns.

The goal in using indicators is to identify trading opportunities. For example, a moving average crossover often predicts a trend change.In this instance, applying the moving average indicator to a price chart allows traders to identify areas where the trend may change.

A growing number of technical indicators are available for traders to study, including those in the public domain, such as a moving average or the stochastic oscillator, as well as commercially available proprietary indicators. In addition, many traders develop their own unique indicators, sometimes with the assistance of a qualified programmer.

Most indicators have user-defined variables that allow traders to adapt key inputs such as the "look back period" (how much historical data will be used to form the calculations) to suit their needs.

There are different types of indicators including trend, Volume, volatility and momentum indicators. 

Strategies


Strategies employ indicators in an objective manner to determine entry, exit and/or trade management rules. A strategy is a definitive set of rules that specifies the exact conditions under which trades will be established, managed and closed.
Strategies typically include the detailed use of indicators or, more frequently, multiple indicators, to establish instances where trading activity will occur.

Typically, strategies include both trade filters and triggers, both of which are often based on indicators. Trade filters identify the setup conditionstrade triggers identify exactly when a particular action should be taken.

A trade filter, for example, might be a price that has closed above its 200-day moving average. This sets the stage for the trade trigger, which is the actual condition that prompts the trader to act – AKA, the line in the sand. A trade trigger might be when price reaches one tick above the bar that breached the 200-day moving average.
To be clear, a strategy is not simply "Buy when price moves above the moving average." This is too evasive and does not provide any definitive details for taking action. Here are examples of some questions that need to be answered to create an objective strategy:
  • What type of moving average will be used, including length and price point to be used in the calculation?
  • How far above the moving average does price need to move?
  • Should the trade be entered as soon as price moves a specified distance above the moving average, at the close of the bar or at the open of the next bar?
  • What type of order will be used to place the trade? Limit? Market?
  • How many contracts or shares will be traded?
  • What are the money management rules?
  • What are the exit rules?
All these questions must be answered to develop a concise set of rules to form a strategy.


An indicator is not a trading strategy. An indicator can help traders identify market conditions; a strategy is a trader's rulebook: How the indicators are interpreted and applied in order to make educated guesses about future market activity. Often, traders will use multiple indicators to form a strategy, though different types of indicators are recommended when using more than one.

Example : 

Using three different indicators of the same type – momentum, for example – results in the multiple counting of the same information, a statistical term referred to as multicollinearity. Multicollinearity should be avoided since it produces redundant results.

Instead, traders should select indicators from different categories, such as one momentum indicator and one trend indicator. Frequently, one of the indicators is used for confirmation; that is, to confirm that another indicator is producing an accurate signal.

A moving average strategy, for example, might employ the use of a momentum indicator for confirmation that the trading signal is valid. One momentum indicator is the RSI, which compares the average price change of advancing periods with the average price change of declining periods. Like other technical indicators, the RSI has user-defined variable inputs, including determining what levels will represent overbought and oversold conditions. The RSI, therefore, can be used to confirm any signals that the moving average produces. Opposing signals might indicate that the signal is less reliable and that the trade should be avoided.
Each indicator and indicator combination requires research to determine the most suitable application with respect to the trader's style and risk tolerance


One advantage to quantifying trading rules into a strategy is that it allows traders to apply the strategy to historical data to evaluate how the strategy would have performed in the past, a process known as backtesting. Of course, this does not guarantee future results, but it can certainly help in the development of a profitable trading strategy.

Indicators are tools that traders use to develop strategies; they do not create trading signals on their own.


Choosing Indicators to Develop a Strategy

What type of indicator a trader uses to develop a strategy depends on what type of strategy he or she intends on building. This relates to trading style and risk tolerance. 

A trader who seeks long-term moves with large profits might focus on a trend-following strategy, and, therefore, utilize a trend-following indicator such as a moving average. 

A trader interested in small moves with frequent small gains might be more interested in a strategy based on volatility. Again, different types of indicators may be used for confirmation.


The Bottom Line
Indicators alone do not make trading signals. Each trader must define the exact method in which the indicators will be used to signal trading opportunities and to develop strategies. Indicators can certainly be used without being incorporated into a strategy; however, technical trading strategies usually include at least one type of indicator. Identifying an absolute set of rules, as with a strategy, allows traders to backtest to determine the viability of a particular strategy. It also helps traders understand the mathematical expectancy of the rules, or how the strategy should perform in the future. This is critical to technical traders since it helps traders continually evaluate the performance of the strategy and can help determine if and when it is time to close a position.

Friday, November 18, 2016

Options


=======================================================================

Types of Options
















===================================================================

Combination of Underlying Asset and an Option:

Covered Call:      A Long Position in the stock accompanied by short sale of a call to collect the option premium.




Protective Put:   A Long Position in the stock accompanied by purchase of a put to protect the downside.


======================================================================

Put - Call Parity





====================================================================

Two Classes of Options - Straddle & Strangle

Combine a call and Put with the same strike price and maturities called  straddle
Long Straddle : Buying a call and a put with the same maturity and strike price.
Short Straddle : Selling a call and a put with the same maturity and strike price
Straddle will benefit from a large price move up or down.

Combine a call and Put with the different strike price and maturities called  Strangle




====================================================================

One Class of Options  - Spreads

Vertical Spreads refers to different strike prices
Horizontal Spreads refers to different Maturities
Diagonal Spreads move across maturities and strike prices.

Bull spread -  is positioned to take advantage of an increase in price of the underlying asset.
Bear spread - is bet on a falling price.





Spreads involving more than 2 positions are referred to as butterfly or sandwich spreads.

Butterfly spread involves three types of options with the same maturity.
a long call at a strike price K1
two short calls at a higher strike price k2,
long call at a even higher strike price k3.

Sandwich spread is a opposite of butterfly spread.


=====================================================================



The Basel II Capital Accord [63] identifies
three main sources of risk: credit risk, market risk and operational risk.


Credit risk is typically represented by means of three factors:
default risk,loss risk and exposure risk.



Risk management is primarily concerned with reducing earnings volatility
and avoiding large losses.

In a proper risk management process, one needs
to identify the risk, measure and quantify the risk and develop strategies to
manage the risk.


Risk management is primarily concerned with reducing earnings volatility
and avoiding large losses. In a proper risk management process, one needs
to identify the risk, measure and quantify the risk and develop strategies to
manage the risk.

=======================================================================

Thursday, November 17, 2016

Bank Stress Testing

VAR does not purport to account for extreme losses.This is why VAR should be complemented by stress testing which aims at identifying situations that could create extraordinary losses for the institution.

===========================================

Stress testing is a key risk management process which includes

1. scenario analysis : it consists of evaluating the portfolio under various states of the world.
2. stressing models :  it involves evaluating the effect of changes in valuation models, as well as in inputs such as volatilities and correlations.
3. developing policy responses consists of identifying steps the bank can take to reduce its risk and converse capital.

========================================================================
Stress tests fall into three categories:

These scenarios can be created using a variety of methods.


a.  Scenarios requiring no simulation : 
     This approach is backward looking and does not account for changes in portfolio composition.

b.   Scenarios requiring a  simulation: 

These consist of running simulations of the current portfolio subject to large hsitorical shocks - for example stock market crash of 1987 , the ERM criseis of September 1992, the bond market rout of 1994 and so on.

c.   Bank-specific scenarios : 

Creating prospective scenarios should be tailored to the portfolio at hand.

========================================================================

Stress-testing is useful to guard against event risk.

Goal of Stress-testing is to identify areas of potential vulnerability.

The objective of stress-testing and management response should be to ensure that the institution can withstand likely scenarios without going brankrupt.

Institutions should stress-test their market and credit exposure, taking into account the concentration risk to groups of counter parties and the risk that liquidating positions could move the markets.

========================================================================






Normal Distribution & Non Normal Distribution - (Skewness & Kurtosis)







The skewness measures the asymmetry of a probability distribution around its mean. 
Decline in the asset prices is more severe than increases.

Kurtosis measures the distribution around the mean; a high kurtosis has fatter tail ends of the distribution, and a low kurtosis has skinny tail ends of the distribution. 
Having more probability weights (observations) in its tails in relative to the normal distributions.




Wednesday, November 16, 2016

Expected Loss - Credit Risk



1. PD The probability of default of a borrower over a one-year horizon.

2. LGD The loss given default (or 1 minus recovery) as a percentage of exposure at default

3. EAD Exposure at default (an amount, not a percentage)

4. Maturity



For a given maturity, these parameters are used to estimate two types of expected loss (EL).



Expected loss as an amount: EL =  PD x LGD x EAD  


expected loss as a percentage of exposure at default: EL% = PD x LGD .


===============================================================


 Measurement and Estimation of LGD.

 Loss given default includes three types of losses:

• The loss of principal
• The carrying costs of non-performing loans, e.g. interest income foregone
• Workout expenses (collections, legal, etc.)


=================================================================

Source -

http://fic.wharton.upenn.edu/fic/papers/04/0401.pdf
http://riskarticles.com/credit-risk-how-to-calculate-expected-loss-unexpected-loss/
https://www.riskprep.com/all-tutorials/37-exam-31/114-default-correlations
http://www.quantatrisk.com/python-for-computational-finance/


==============================================================

Sunday, February 28, 2016

Forwards vs Futures ; Types of Derivatives


There are two types of derivatives – linear and non-linear. Linear derivatives involve futures, forwards and swaps while non-linear covers most other derivatives.