This an update to the price feed script I had written in Node JS (https://hive.blog/witness-category/@drakos/steemjs-tools-witness-price-feed-in-nodejs). It now relies on Hive-JS instead of Steem-JS, and is ready for HF-24.
The release can be found here:
https://github.com/Jolly-Pirate/pricefeed/releases/tag/v3.0
Features
- Application resilience with NodeJS restart on crash/exit.
- Automatic RPC switching.
- Supported exchanges: Binance, Bittrex, Huobi, Ionomy, Probit, Upbit.
- USDT/USD correction.
Changes
- Code update for HF24.
- Added more RPC nodes to config.json.example.
- Removal of Steem support (from the previous v2.0).
Installation
New Installation Instructions
git clone https://github.com/Jolly-Pirate/pricefeed
cd pricefeed
git checkout v3.0
Update Instructions from v2.0
git pull
git checkout v3.0
After the checkout, rebuild the docker image (./run.sh build
) and restart it (./run.sh restart
).
Or the npm way with npm install && npm audit fix && npm start
.
Detailed setup instructions are in the README.md https://github.com/Jolly-Pirate/pricefeed/tree/v3.0