Adjusted data via Yahoo Finance

I want the adjusted prices, but I can't seem to get AmiQuote to download the adjusted data. I am using AmiQuote 4.17data

First let me explain that data provided by Yahoo are automatically adjusted for SPLITS out of the box.
You don't need to do anything to get that as AmiQuote already downloads data adjusted for splits.

They are not adjusted for DIVIDENDS however.

Importing adjusted quotes for BOTH splits and dividends requires processing of adjclose field returned by Yahoo.

You can import the custom data source attached below (in AmiQuote, Data Sources->Import) and it should allow you to get adjusted quotes for both splits AND dividends

Yahoo Finance Workaround Adjusted.ads (3.9 KB)

4 Likes

Hi Tomasz

I use Yahoo Finance Workaround Adjusted to download data from yahoo finance,
there has a field named Date_YMD,Open,High,Low,Close,Volume,AdjClose.
but when i download the data , i can not find AdjClose in quotations editor, so what is the problem?


Please do read the manual, it explains how AdjClose field works
https://www.amibroker.com/guide/d_ascii.html

ADJCLOSE split-adjusted close

This is provided to read adj. close column from Yahoo. Works only in conjunction with CLOSE field. When both CLOSE and ADJCLOSE are present in the ASCII format definition then importer calculates split factor by dividing ADJCLOSE/CLOSE. It then multiples OPEN, HIGH, LOW and CLOSE fields by this factor and divides VOLUME field by this factor. This effectively converts unadjusted prices to split adjusted prices. Split ratio gets locked once ADJCLOSE drops below 0.05.

1 Like