HERTZ Price Feed Script Updates! September 2017

in #bitshares7 years ago (edited)

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

Sort:  

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

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

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.

Coin Marketplace

STEEM 0.27
TRX 0.13
JST 0.032
BTC 60782.22
ETH 2915.02
USDT 1.00
SBD 3.64