仓库源文站点原文


layout: post title: "ML4T笔记 | 02-06 Technical Analysis" date: "2019-02-20 02:20:20" categories: 计算机科学 auth: conge

tags: ML4T Machine_Learning Trading OMSCS

01 - Technical versus fundamental analysis

Two broad categories of approaches to use for choosing stocks to buy or sell: Fundamental analysis and Technical analysis

Fundamental analysis: looking at aspects of a company to estimate its value and look for the price < value situations.

Technical analysis: Looking for patterns or trends in a stock's price.

Time: 00:00:36

02 - Characteristics

Characteristics of technical analysis

  1. it looks only at price and volume.
  2. compute statistics (or indicators) on this time series

Criticism of the technical approach

Reasons to believe technical analysis

03 - Quiz: Potential indicators

Look at each one of these four factors and fill in the box, T for technical or F for fundamental.

Time: 00:00:41

04 - When is technical analysis valuable

  1. individual indicators, by themselves, are weakly predictive. And the more people following a particular approach, the less value is realized
  2. combining multiple indicators adds value. Combinations of three to five different indicators, in a machine learning context, provide a much stronger predictive system
  3. contrasts. If certain stocks are behaving differently than the market, then they are worth a further look.
  4. technical analysis generally works better over shorter time periods.

Time: 00:01:38

05 - When is technical analysis valuable part 2

image.png

The trading horizon

For fundamental factors: Over long periods of time, fundamental factors provide a lot of value.

for technical factors.

decision complexity

Time: 00:03:42

06 - A few indicators: Momentum

Three are some of the most common and most popular indicators: 1) momentum, 2( simple moving average, and 3) Bollinger Bands.

momentum

Momentum is over some number of days how much has the price changed: positive momentum and negative momentum

Time: 00:02:42

07 - A few indicators: Simple moving average (SMA).

image.png

two different ways that technicians use simple moving average

  1. look for where the current price crosses through the simple moving average.
  1. simple moving average is as a proxy for underlying value.

quantify SMA

Time: 00:03:40

08 - A few indicators Bollinger Bands

how much of an excursion from the simple moving average should I use as a signal for a buy or sell?

How might we use Bollinger Bands now for trading signals

How to calculate the Bollinger Band on a particular day t

Time: 00:03:46

09 - Buy or sell

In the four different times where the actual price crosses and upper or lower Bollinger band. Is it a buy signal, a sell signal or no signal at all?

The solution: is in the picture: remember, only when price moves into the Bollinger Band is a trading signal. Moving outside is not.

Time: 00:00:57

10 - Normalization

The solution: normalization.

Given values, the normalization works this way:

⚠️!!Normalize your data if use indicators in machine learning models!!

Time: 00:01:43

11 - Wrap up

  1. technical indicators are really heuristics that represent how a statistical approach to previous prices and volume might suggest future price movement.

  2. Tucker's approach of using Bollinger Band.

  3. 🙅‍♂️Do not start trading. Learn more

Time: 00:00:49

Total Time: 00:22:34

2019-02-20 初稿