Viewing a response to: @yabapmatt/witness-update-help-fix-the-sbd-peg
### UPDATE I managed to implement support for bias in publish_feed.lua (my tool to update your witness price feed: https://github.com/develCuy/lazy-steem) so you can use it like this: ``./publish_feed.lua --bias=300 dropahead http://cli-wallet-instance:8093`` ### Original comment Nice post! Can you elaborate on how exactly you transform 1 STEEM to 0.250 with a 300% bias? I'm very confused about it!
post_id | 19,865,429 |
---|---|
author | dropahead |
permlink | re-yabapmatt-witness-update-help-fix-the-sbd-peg-20171209t035312412z |
category | witness-category |
json_metadata | "{"app": "steemit/0.1", "links": ["https://github.com/develCuy/lazy-steem"], "tags": ["witness-category"]}" |
created | 2017-12-09 03:53:12 |
last_update | 2017-12-09 18:07:45 |
depth | 1 |
children | 1 |
net_rshares | 129,757,319,590 |
last_payout | 2017-12-16 03:53:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.376 SBD |
curator_payout_value | 0.120 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 404 |
author_reputation | 7,413,102,413,009 |
root_title | "Witness Update - Help fix the SBD peg!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
manosteel211 | 0 | 18,307,921,756 | 100% | ||
dropahead | 0 | 41,555,640,005 | 100% | ||
indiantraveller | 0 | 1,845,505,797 | 10% | ||
yukimaru | 0 | 12,823,284,566 | 100% | ||
proba1 | 0 | 1,395,831,634 | 100% | ||
yabapmatt | 0 | 53,829,135,832 | 10% |
@yabapmatt, I did not use algebra in 17 years... but I found the formula!! ``STEEM quote = 1 - (BIAS%/(1 + BIAS%))`` Example: ``0.250 = 1 - (300%/(1 + 300%))``
post_id | 19,922,476 |
---|---|
author | dropahead |
permlink | re-dropahead-re-yabapmatt-witness-update-help-fix-the-sbd-peg-20171209t171043378z |
category | witness-category |
json_metadata | "{"app": "steemit/0.1", "users": ["yabapmatt"], "tags": ["witness-category"]}" |
created | 2017-12-09 17:10:42 |
last_update | 2017-12-09 17:18:09 |
depth | 2 |
children | 0 |
net_rshares | 0 |
last_payout | 2017-12-16 17:10:42 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 162 |
author_reputation | 7,413,102,413,009 |
root_title | "Witness Update - Help fix the SBD peg!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |