Some of my strategies generate a dividend adjusted price for more reliable signals. For that to work properly, I need reliable dividends. I used to use Fidelity price data so all my strategies used it's dividend data.
At the moment I plan to use Yahoo and Wealth-Data providers for my datasets in WLD. Both of these appear to contain dividend fundamentals within the price data. I'd like to use the appropriate dividend based on the provider the strategy is running under. If a dataset uses a different provider than Yahoo, I've already discovered that I will not get any dividend data with "Dividend (Yahoo! Finance)" if there are no corresponding symbol downloaded by my Yahoo provider. Symbols only downloaded by the Wealth-Data provider would get no dividends in my strategy even if there were dividends available.
Question 1: In WealthScript, how can I determine which provider the strategy is using?
I noticed the following FAQS on wealth-data.com...
QUOTE:
Is Wealth-Data dividend-adjusted?
Stock prices are not adjusted for regular dividends, but they are adjusted for “special” one-time dividends and other dilutive corporate actions.
Question 2a: If I get dividend data from Wealth-Data, will the dividend data contain the "special" one-time dividends? If so, could that cause me to adjust the price twice with this dividend.
Question 2b: Might "Dividend (Yahoo! Finance)" return the "special" one-time dividend if I was using the wrong dividend data? Again, this might cause me to adjust the price twice.
SUGGESTION:
Can we have a
ProviderDividend string property available in the script? This would allow the script to just use the dividend data which is appropriate.
There were two areas in Preferences where this would be good too:
*
Chart annotation - show the dividend appropriate for the data provider.
*
Backtest Settings | Apply dividends... Portfolio Simulation mode - same issue that I have above.
In the above cases there should be a setting for a default dividend provider if the provider is not Yahoo or Wealth-Data. That same default should be used by the script if it asks for ProviderDividend.