You are viewing a single comment's thread from:

RE: Witness Update - Help fix the SBD peg!

in #witness-category6 years ago (edited)

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!

Sort:  

@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%))