How to Adjust Historical Prints for Splits & Dividends?

Yes, thank you. That is what I am doing. I am scraping the data with a c# app, and have created a map which computes the adjustment ratio between any 2 dates (also have a c++ app to scrape it). Kalmar, above you, is using R to do something similar. Yahoo is the easiest source I've heard mentioned, so I am using it. Also nice that they include dividends.
Oh, btw: http://www.otcmarkets.com/common/GetSplitsWorklist.json, http://www.otcmarkets.com/common/GetDividendWorklist.json are also possible sources.
I store dividends and splits as "instrument changes" and each instrument has variables like "add" which represents the total dividend value and "multiplier" over a certain time.
 
Back
Top