HERTZ Price Feed Script Updates! September 2017

in bitshares •  last year

hertz

HERTZ Price Feed Script Updates!

After my last post, I sat down and fired out a few pull requests to integrate HERTZ into the existing price feed scripts. I still have one or two price feed scripts to work on, but for now we've got 3 implementations!

Warning: These are not production ready & you shouldn't publish price feeds for HERTZ until each PR has been sufficiently peer reviewed.

Wackou's 'bts_tools' price feed script PR

feeds['HERTZ'] = usd_price + ((usd_price * 0.5) * math.sin(((((pendulum.now().timestamp() - 1444745544)/2629746) % 1) * 2629746) * ((2*math.pi)/2629746)))

Xeroc's 'bitshares_pricefeed' script PR

formula: ({quoteSettlement_price}) + (({quoteSettlement_price} * 0.5) * sin(((((time.time() - 1444745544)/2629746) % 1) * 2629746) * ((2*pi)/2629746)))

Forked HERO price feed scripts

hertz_usd = 1.00 + (0.5 * math.sin(((((time.time() - 1444745544)/2629746) % 1) * 2629746) * ((2*math.pi)/2629746)))

Best regards,
@cm-steem

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:  

Nice work @cm-steem, will be interesting to see where HERTZ will take us :)

Loads of information. Many thanks. Love it. @cm-steem Followed

Excellent post. @cm-steem

Congratulations @cm-steem, this post is the ninth most rewarded post (based on pending payouts) in the last 12 hours written by a Hero account holder (accounts that hold between 10 and 100 Mega Vests). The total number of posts by Hero account holders during this period was 173 and the total pending payments to posts in this category was $3124.09. To see the full list of highest paid posts across all accounts categories, click here.

If you do not wish to receive these messages in future, please reply stop to this comment.