Waffle.io - Columns and their card count Build Status

About BitcoinTracker

Table of Contents

Workspace Operation

redis operation

start

/etc/init.d/redis-server start

stop

/etc/init.d/redis-server stop

restart

/etc/init.d/redis-server restart

StockChart Operation

start

cd ~/workspace/chart/
npm start &

stop

ps -ef | grep stockchart
ubuntu     10112   10111  0 13:25 pts/9    00:00:00 node /home/ubuntu/workspace/stockchart/node_modules/.bin/react-scripts start
ubuntu     10118   10112  4 13:25 pts/9    00:00:16 node /home/ubuntu/workspace/stockchart/node_modules/react-scripts/scripts/start.js
ubuntu     10128   10118  0 13:25 pts/9    00:00:00 /bin/sh /home/ubuntu/workspace/stockchart/node_modules/opn/xdg-open http://localhost:8080/
ubuntu     10293    8121  0 13:32 pts/11   00:00:00 grep --color=auto stoc
# kill -9 10112
# kill -9 10118
# kill -9 10128

Crawler Operation

start

cd ~/workspace
node crawler.js &

stop

ps -ef | grep crawler
ubuntu      9114    7659  0 13:07 pts/9    00:00:01 node ./crawler.js
ubuntu     10337    8121  0 13:36 pts/11   00:00:00 grep --color=auto crawler
kill -9 9114

Tracker Operation

start

cd ~/workspace
node tracker.js &

stop

ps -ef | grep tracker
ubuntu      9340    7659  0 13:08 pts/9    00:00:01 node tracker.js
ubuntu     10353    8121  0 13:39 pts/11   00:00:00 grep --color=auto tracker
kill -9 9340

BotManager Operation

start

cd ~/workspace
node botManager.js &

stop

ps -ef | grep botManager
ubuntu      9340    7659  0 13:08 pts/9    00:00:01 node botManager.js
ubuntu     10353    8121  0 13:39 pts/11   00:00:00 grep --color=auto tracker
kill -9 9340

Analyzing Files Explanation

selector.js

ohlcBuilder.js

chartFeeder.js

chart/src/chart.js

analyzer.js

notifier.js

Minor Files

coinInfo.js

notiType.js

tradeType.js


Configuration and Environment Files

crawler

REDIS_HOST=locahost
REDIS_PORT=6379
MAX_COUNT=1000
CONFIG=./config/
LOG=./log/
LOGGER_CONFIGFILE=loggerConfig.json
LOGGER_OUTFILE=coinhistory.log

crawlerConfig.json

loggerConfig.json

notifyConfig.json


## redisConfig.json
- redis remote db location

```js
{
  "host": "{redis remote URL}",
  "port": {port number}
}

trackerConfig.json

chart/public/currency.png

Usage

sb {currency}{subcommand}{amount}

{currency}

{subcommand}

{amount}

(note)