Looks great @coingecko!
It seems like you're doing frequent updates every time the price is changed. This looks like a little bit overkill since the markets are not that volatile.
Blockchain uses these publish_feed transactions by getting a median in 3.5 days. So, broadcasting a 0.001 change in the price with 2 minute intervals doesn't change much in the practice.
For example, let's check these updates:
You have almost broadcasted the same price four times in seven minutes.
Also, since witnesses use these tools on the servers, it's always a better practice to use signing key to broadcast prices. (It's possible after HF20) Which is more secure in comparison storing an active key.
Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.
To view those questions and the relevant answers related to your post, click here.
Need help? Chat with us on Discord.
We are currently running older version of the script, the new version added SENSITIVITY
SENSITIVITY=0.000 # Sensitivity for the price update. (Float) [default: 0.000]
which will only update price when it passes a certain threshold
to solve this issue, will update the script once the holiday is over.
true, will take note of that on the next version.
Thank you for your review, @emrebeyler! Keep up the good work!