Using historic dividend yields as a Priority item
Author: mikesblack
Creation Date: 2/10/2018 12:50 PM
profile picture

mikesblack

#1
Greetings,
I am trying to use historic dividend yields, highest yield meets the criteria as a priority item in a trading system. Would be grateful if you could show me how to code this.
Many thanks.
profile picture

mikesblack

#2
Perhaps a Position Sizer could be produced that would take this into account. Perhaps also other fundamental items might be included. Of course at your own time. Thanks again.
profile picture

Eugene

#3
Hi,

The dividend yield is the dividend divided by the price. Consequently, assuming Fidelity data:

CODE:
Please log in to see this code.
profile picture

mikesblack

#4
Thank you Eugene.
profile picture

Eugene

#5
Glad to help you Mike.