This is a trading item or a component that was created using QuantShare by one of our members.
This item can be downloaded and used by QuantShare Trading Software.
Trading items are of different types. There are data downloaders, trading indicators, trading systems, watchlists, composites/indices...
You can use this item and hundreds of others for free by downloading QuantShare.
Top Reasons Why You Should Use QuantShare:
Works with US and international markets (stock, forex, options, futures, ETF...)
Offers you the tools that will help you become a profitable trader
Allows you to implement any trading ideas
Exchange items and ideas with other QuantShare users
Our support team is very responsive and will answer any of your questions
We will implement any features you suggest
Very low price and much more features than the majority of other trading software
For Free - No Credit Card Required
History of dividend payment for stocks in the US stock market
Dividends are portion of corporate profits that a company decides to redistribute to its shareholders.
Depending on their dividend policy, some companies will pay dividend to their shareholders while others prefer to invest in their future growth.
This downloader gets dividend data from the yahoo finance website. It downloads history of dividend payment for stocks that trade in the US Stock market.
The dividend data is stored in a custom database whose name is 'dividend'.
This data can of course be accessed by the QuantShare language and thus be used in the screener, watch list, composite, rules, simulator...
One formula that I personally found it interesting is the following:
dividend = GetData("dividend","dividend",Zero);
a = BarsSince(dividend);
plot(a, "dividend", colorBlue,ChartLine,StyleOwnScale);
The barssince formula will let you know, for any bar, since how many bars the last dividend payment was made.
You can manually adjust stock prices for splits and dividends by selecting "Symbol -> Split/Dividend".