Scoring a stock based on technical indicators.
Example on how to score Apple's stock
node ./js/run.js --sc=aapl
--v=on
shows all the console logging. This option is only valid on getting a single stock's info.
Example: node ./js/run.js --sc=aapl --v=on
Default for --v
is off
When verbose logging is off, then you will only see the stock name, the current price, and the final score of the stock.
Be sure to set the email addresses in the config.json before trying to send an email
No Email node ./js/run.js --ipo=yes
or node ./js/run.js --ipo=yes --e=no
With Email node ./js/run.js --ipo=yes --e=yes
npm run compilets
{
"baseUrl": "https://api.iextrading.com/1.0",
"emailAddress": "sentfrom@gmail.com",
"emailPassword": "test",
"emailTo": "sendto@gmail.com"
}
Most Active Stocks node ./js/run.js --ma=yes
Most Gained Stocks node ./js/run.js --mg=yes
Most Loser Stocks node ./js/run.js --ml=yes
Most In Focus Stocks node ./js/run.js --mf=yes
IEX Volume Stocks node ./js/run.js --iv=yes
IEX Percent Stocks node ./js/run.js --ip=yes
node ./js/run.js --c=yes
node ./js/run.js --p=yes --s=aapl
No Email node ./js/run.js --sn=yes --s=aapl
or node ./js/run.js --sn=yes --e=no --s=aapl
With Email node ./js/run.js --sn=yes --e=yes --s=aapl
No Email node ./js/run.js --mn=yes
or node ./js/run.js --mn=yes --e=no
With Email node ./js/run.js --mn=yes --e=yes
node ./js/run.js --sec=yes