i want a program with a javafx program that does the following
it should have a button to set a text file that i can change at any time, this file will contain a comma delimited list of nasdaq stock tickers
You can find a basic list of all the current nasdaq tickers online super easily. the yahoo finance api will give you a csv of them all
I want the program to run them against the following methodology
when the program is run it will output all the stocks which pass 7/8 of the following tests or whose price is equal to the stock's 52 week low.
output should be a basic text file and look like a list of what's shown below
all of the information required to complete the methodology can be parsed out of this html page
http://www.finviz.com/quote.ashx?t=OTELif you cant get access to a decent api
Code
OTEL
~OTELCO inc
PASS :: [7/8]
PRICE :: $3.90
52w Low :: $3.90
52w High :: $7.9999
PRICE/SALES RATIO: [PASS]
The prospective company should have a low Price/Sales ratio. Cyclical companies with Price/Sales ratios below or equal to .4 are tremendous values and should be sought. OTEL's P/S ratio of 0.18 Based on trailing 12 month sales, is below .4 which is considered very favorable. It passes this methodology's P/S ratio test with flying colors.
TOTAL DEBT/EQUITY RATIO: [FAIL]
Less debt equals less risk according to this methodology. The Debt/Equity ratio for OTEL is not available currently. Hence, this variable cannot be analyzed at the present time.
PRICE/RESEARCH RATIO: [PASS]
This methodology considers companies in the Technology and Medical sectors to be attractive if they have low Price/Research ratios. OTEL is neither a Technology nor Medical company. Therefore the Price/Research ratio is not available and, hence, not much emphasis should be placed on this particular variable.
Is OTEL a "Super Stock"? NO [PASS]
Price/Sales Ratio: [PASS]
The Price/Sales ratio is the most important variable according to this methodology. The prospective company should have a low Price/Sales ratio. OTEL's Price/Sales ratio of 0.18 passes this criterion.
LONG-TERM EPS GROWTH RATE: [PASS]
This methodology looks for companies that have an inflation adjusted EPS growth rate greater than 15%. OTEL's inflation adjusted EPS growth rate of 100.31% passes this test.
FREE CASH PER SHARE: [PASS]
This methodology looks for companies that have a positive free cash per share. Companies should have enough free cash available to sustain three years of losses. This is based on the premise that companies without cash will soon be out of business. OTEL's free cash per share of 4.35 passes this criterion.
THREE YEAR AVERAGE NET PROFIT MARGIN: [PASS]
This methodology looks for companies that have an average net profit margin of 5% or greater over a three year period. OTEL's three year net profit margin, which averages 51.84%, passes this criterion.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This post was edited by Ideophobe on Jun 15 2016 11:52pm