A Tip for Witnesses on How to Manually Update Their Price Feed

in witness-tip •  8 years ago 

witness

About two weeks ago I have started exploring what being a Steem Witness is, what you need to do and how to do it. I have posted my backup witness application and stated sharing some tips for things that are not that well documented about being a witness. Today I'll be sharing yet another tip for witnesses, a tip that essentially allows you to update your price feed manually using the publish_feed command from the CLI_WALLET. You can use this command to automate the price feed updates with the help of a script and there are already some scripts that automate the process. Publishing a STEEM price feed is not required from witnesses, unless if you are in any of the top 19 spots where it is required.

To update the price feed you will need to use the CLI_Wallet. This means that you already need to have a running and up to date Witness node and you need to start the cli_wallet, and if you still haven't set a password (set_password YOURPASSWORD), unlock the cli_wallet with your newly set password (unlock YOURPASSWORD) and import your active key (import_key YOURPRIVATEKEY) to get access to the user that you will have to work with. The command you will need to use is called publish_feed:

publish_feed "WITNESSUSERNAME" { "base":"0.411 SBD", "quote":"1.000 STEEM"} true

In the above example make sure you edit WITNESSUSERNAME setting your witness username and set the price to the value you want, that is the 0.411 value you see above that needs to be modified to reflect the current ratio between SBD and STEEM. Automatic this to be reported on a regular basis would require you to query exchanges and average the price based on the current exchange rate...


If you have a question or want to add something, then please leave a comment below.


Did you like what you have just read? Check my other posts on steemit @cryptos

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  
  ·  8 years ago (edited)

my apologies, can you point me to a easy to understand how to interpret BITTREX and steem / BTC please. Sorry to just post here ; seeking quality information on these candlesticks trading etc. apologies . . .