仓库源文站点原文


layout: post title: "ML4T笔记 | 02-07 Dealing with data" date: "2019-02-24 02:24:20" categories: 计算机科学 auth: conge

tags: ML4T Machine_Learning Trading OMSCS

01 - Lesson Overview

Time: 00:00:13

02 - How data is aggregated

Time: 00:04:03

03 - Quiz: Price anomaly

why might the price of IBM dropped by this significant amount over these days?

Solution: stock split.

When stock split happens, your total value was preserved, but you now have more shares. In other word, N = price_pre_drop / price_past_drop, and N is usually an integer.

Time: 00:00:38

04 - Stock splits

Stocks splits When the price is too high.

Why is a high price a problem?

Stock splits look like a short opportunity because the stock price have a sudden drop. This drop in price is not a drop in the value of the company or your stock value. Investors only have more stocks in their hands without a change of the total value. solution: adjusted close Or adjusted prices.

Time: 00:04:51

05 - Quiz: Split adjustment

The price (green line) has a 2:1 split, what are the corresponding adjusted closing prices?

Time: 00:00:26

Solution: For prices before the split, we divide them by 2, for prices on and after the day of the split, no change.

Time: 00:01:05

06 - Dividends

Dividends can affect the actual price of the stock:

Given a stock price at \$100/share, it announces to pay a \$1 dividend on a future date.

So what prices will be on the day before the dividend is paid and the day the dividend is paid?

Solution:

Time: 00:00:59

08 - Adjusting for dividends

How we might adjust historical prices for this situation.

The adjustment allow us to not worry about dividends and splits

Time: 00:04:02

09 - Survivor bias

Time: 00:02:26

Total Time: 00:21:39

2019-02-24 初稿