4
$\begingroup$

I am building a machine learning model using historical prices and I am using data from yahoo finance. Currently yahoo finance data have two close prices one normal close price(close) and other adjusted close price(Adj close). My question is which close price should I take for teaching my ML model. Is there any (dis)advantage of using adjusted close price instead of close price?

$\endgroup$

2 Answers 2

2
$\begingroup$

You should use Adj close price

Using Adj close price gives you the adjusted values of close price, hence the fair picture in case of off-beat events like splits and dividends. Using close price instead of adj close price provides unrealistic and false values of metrics like returns, which could generate false signals in your ML model.

$\endgroup$
0
$\begingroup$

Hmm I don't know if I agree that the adjusted price should be used. On the one hand the adjusted prices do help to avoid the impact of corporate actions like stock splits.

On the other hand using the adjusted price incorporates dividends into the price and that will cause a unpredictable shock to price. Lets take an example: you are making a prediction on each days move. On the 4th day a dividend is payed and there are capital gains. Your model wont be able to account for the dividend.

I think the best thing to do is to take the raw data, adjusted it for corporate actions, and not include dividend payments in the price.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.