[UPDATE] Steemfeed-JS 2.1 - More exchanges, USDT->USD proxying, verbose mode and more

in #witness-update6 years ago

Steemfeed-JS has been updated yet again in response to USDT being below $1.00 USD.

The 2.1 release contains many other additions to make Steemfeed-JS more accurate, easier to debug and develop, etc.

What's new?

The key points for this update are:

  • Poloniex is re-enabled
  • USD/USDT pair added to Bittrex. STEEM/USD changed to STEEM/USDT
  • Overhaul of the proxy system. Nested proxying now works (e.g. steem->btc->usdt->usd)
  • Instead of assuming USDT == USD, it's now labelled appropriately in the exchange adapters, and is converted like any other altcoin into actual USD.
  • Verbose mode for debugging (or those that just love seeing walls of text). As simple as node app.js -v
  • Dry run mode, to see the price it would use, without actually publishing it (node app.js dry). Can be used with normal mode, or verbose mode.
  • In depth code comments for exchanges.js - makes it easy to develop for.
  • New exchanges
    • Binance (STEEM/BTC, BTC/USDT)
    • Kraken (USD/USDT)

Dry mode with Verbose

Above is an example of the new dry + verbose mode together. You can see exactly where the price data is coming from, and that it's querying multiple exchanges for pairs such as STEEM/BTC and BTC/USDT to get the median average.

Note that toFixed(5) is used when displaying the numbers for sanity, don't worry, the rounded numbers are not used in the actual calculation.

Installation/Upgrade

See my post for Steemfeed-JS 2.0 - the instructions are exactly the same:

https://steemit.com/witness-update/@someguy123/update-steemfeed-js-2-0-released-now-appbase-ready-please-update


GIF Avatar by @stellabelle


Do you like what I'm doing for STEEM/Steemit?

Vote for me to be a witness - every vote counts.

Don't forget to follow me for more like this.


Have you ever thought about being a witness yourself? Join the witness channel. We're happy to guide you! Join in shaping the STEEM economy.

Are you looking for a new server provider? My company @privex offers highly-reliable and affordable dedicated and virtual servers for STEEM, LTC, and BTC! Check out our website at https://www.privex.io


Sort:  

Glad you're staying on top of the game guy. Appreciate the heads up!

Posted using Partiko Android

Thanks @someguy123. Updated!! 😍

Thanks @someguy123

some terminal porn & love for you below ...

2018-10-03_13-05-03.png

I already noticed something out of whack with the price-feeds...

STEEM/USD changed to STEEM/USDT, WTF!!!

Is this not a consensus thing? Or can we change this every now and then?

It's a bloody shame!!! :-)

https://cointelegraph.com/explained/tether-case-explained

Hello @someguy123,

You are one of my Steemit witnesses, and I'm here to inform you of a fantastic opportunity to promote STEEM.

Please check out the information in my article:

STEEM On Netcoins Contest: EVERYbody Wins!

I'm not looking for your vote or reSteem...

I am asking you to take action to promote this!
It seems clear to me that it will benefit the entire Steemit community.

Thank you in advance for your consideration!

😄😇😄

@creatr

This is very informative. Thank you so much.