Picking a low PE stock

Category : Uncategorized

Picking a low PE stock

Please make sure you have the most updated mfd_dm, mfd_ta and mfd_tex packages for Stata installed for this post.

*
net from "http://www.researchforprofit.com/stata/mfd_dm"
net from "http://www.researchforprofit.com/stata/mfd_ta"
net from "http://www.researchforprofit.com/stata/mfd_tex"
* click on the blue mfd_dm package and then "click here to install" 
*

If you wanted to pick a stock with a low PE, then you need to download PEs and sort them.

*
* How to pick lowest PE
clear all
cd "/Users/mfd/Desktop"

* Get the list of all DJI component companies (^DJI)
* Get the list of all DJA component companies (^DJA)
* Get the list of all NYSE component companies (^NYA)
* Get the list of all NASDAQ component companies (^IXIC)
mfd_dm_components, symbol(^DJI)
levelsof Symbol, local(tickers)

mfd_dm_EPS `tickers', item(eps) annual pe

keep date PE_*_annual
keep if (month(date)==12) & (year(date)==2012)
keep if _n==_N
drop date
xpose, clear varname
sort v1
browse
*

Screen Shot 2013-12-28 at 1.51.55 PM