I have changed my price feed script to allow for a discounted rate and there is something wrong with the script that I need to debug, so I have been updating manually in the meantime.
You are viewing a single comment's thread from:
I have changed my price feed script to allow for a discounted rate and there is something wrong with the script that I need to debug, so I have been updating manually in the meantime.
Thanks for the quick response!
I really do not get the complexity of you guys (witnesses) thinking. Today I had a conversation with another witness. Geez... The feed is easy fix in my view - just multiply the price/number you get up to now by the average discount other witness apply (~ 0.90 currently) Done. THEN fine tune your scripts in the days ahead!
I added a global variable to my feed script called DISCOUNT which allowed me to adjust the price. I then multiplied this value by the variable in python that is used in the conversion to a string to publish the price feed (i.e. you need it in the form of "1.000 STEEM" and "0.410 SBD").
This quick fix of multiplying a float by another float failed and now I am going through to see what's going on with it.
I have been doing precisely what you suggest manually. What's the problem?
In addition, I really don't have time to interact with and respond to someone who continuously flags people's original content (like @edgeland's entirely unique post on Nonverbal Education from Huxley's "Island". I happen to be partial to that user ... ).