/terminal-stocks

Primary LanguageJavaScriptMIT LicenseMIT

terminal-stocks

This is a demo that you can view stocks in terminal. We use Sina Stock API.

How to use

First copy the repo into your disk.

$ git clone git@github.com:ForeverPx/terminal-stocks.git

then

$ npm install

$ node app.js

Add your stocks

Edit app.js, you can find the array named 'stockIdList', you can add your stock code in it.

example

var stockIdList = ['sh601118','sh600684'];

example

##Proxy

vim config.js

proxy :{
        used: false,
        port: '',
        host: '',
        headerHost:''
    },

Useful links

License

MIT licensed