Giter VIP home page Giter VIP logo

stockscoring's Introduction

Stock Scoring

Scoring a stock based on technical indicators.

How to run Stock Score

Example on how to score Apple's stock

node ./js/run.js --sc=aapl

Options

--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.

IPO's

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

How to compile typescript to javascript in project

npm run compilets

Example config.json

{
    "baseUrl": "https://api.iextrading.com/1.0",
    "emailAddress": "[email protected]",
    "emailPassword": "test",
    "emailTo": "[email protected]"
}

How to run List Examples

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

Cryptocurrency

node ./js/run.js --c=yes

Get Peer Stocks

node ./js/run.js --p=yes --s=aapl

Get Stock News

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

Get Market News

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

Get Sector Performance

node ./js/run.js --sec=yes

stockscoring's People

Contributors

danreale avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.