create account

RE: Steemfeed-JS - A NodeJS price feed for witneses by jesta

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @someguy123/steemfeed-js-a-nodejs-price-feed-for-witneses

· @jesta · (edited)
$1.62
I love the effort, but I think something got lost in the principals of how this should work, and the approach used here is fundamentally flawed. 

If you look at all of the other example scripts out there, they all attach to multiple external data sources and make their own judgement of price. When once fails, it's fine because there are still multiple data sources. 

This script is reliant on the value.steem.network API for pricing information exclusively, which to be honest, shouldn't be trusted as the sole source of this information. Each witnesses price updates shouldn't be derived exactly from the same source. This creates a single point of failure for failure or abuse. 

I'm sorry, I don't mean to rain on your parade, but no one should use this.
👍  , , , , , , ,
properties (23)
authorjesta
permlinkre-someguy123-steemfeed-js-a-nodejs-price-feed-for-witneses-20160916t222142047z
categorywitness-category
json_metadata{"tags":["witness-category"]}
created2016-09-16 22:21:42
last_update2016-09-16 22:24:18
depth1
children2
last_payout2016-10-17 23:20:15
cashout_time1969-12-31 23:59:59
total_payout_value1.240 HBD
curator_payout_value0.377 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length761
author_reputation140,605,453,893,072
root_title"Steemfeed-JS - A NodeJS price feed for witneses"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,270,904
net_rshares3,578,127,553,217
author_curate_reward""
vote details (8)
@someguy123 ·
Thanks for the information Jesta.

It uses value.steem.network, just because I wanted an MVP out to temporarily replace the python feed as fast as possible. Steem Value uses Poloniex+BTC-e to determine the price, and has an API I could plug into very quickly.

One of the reasons I'm able to personally trust this, is because the network doesn't exactly use a single witness as a source. One witness reporting $5 instead of $0.50 shouldn't shake the internal market. 

This isn't to say it's perfectly fine for this to be a permanent solution, I will add more exchanges later on. But the network itself is capable of filtering out bad price feeds, because some witnesses update their feeds by hand, some witnesses use their own scripts, and others use a variety of the third party scripts available, like yours, @steempty's or @clayop's original.
properties (22)
authorsomeguy123
permlinkre-jesta-re-someguy123-steemfeed-js-a-nodejs-price-feed-for-witneses-20160916t225031447z
categorywitness-category
json_metadata{"tags":["witness-category"],"users":["steempty","clayop"]}
created2016-09-16 22:50:33
last_update2016-09-16 22:50:33
depth2
children1
last_payout2016-10-17 23:20:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length846
author_reputation103,945,664,283,580
root_title"Steemfeed-JS - A NodeJS price feed for witneses"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,271,153
net_rshares0
@clayop ·
$0.10
Every witness should have a control for its price feed, so the calculation should be transparent and easily modified  by witnesses for their preferences. Relying on a single server lacks this aspect. It's fundamentally no difference with parsing price data from the coinmarketcap IMHO.
👍  
properties (23)
authorclayop
permlinkre-someguy123-re-jesta-re-someguy123-steemfeed-js-a-nodejs-price-feed-for-witneses-20160916t225529926z
categorywitness-category
json_metadata{"tags":["witness-category"]}
created2016-09-16 22:55:30
last_update2016-09-16 22:55:30
depth3
children0
last_payout2016-10-17 23:20:15
cashout_time1969-12-31 23:59:59
total_payout_value0.096 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length285
author_reputation270,845,899,918,618
root_title"Steemfeed-JS - A NodeJS price feed for witneses"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,271,184
net_rshares362,650,129,514
author_curate_reward""
vote details (1)