Author Topic: HERTZ - Oscillating Formula Based Asset  (Read 5150 times)

0 Members and 1 Guest are viewing this topic.

Offline Customminer

  • Sr. Member
  • ****
  • Posts: 454
  • Bitshares FTW!
    • View Profile
    • Gridcoin.US
  • GitHub: grctest
Re: HERTZ - Oscillating Formula Based Asset
« Reply #15 on: July 19, 2017, 03:38:30 pm »
Users mentioned concerns regarding the peak and trough phases of a HERTZ token, specifically that at the peak there would be overwhelming selling/settling pressure (less buy pressure) and that during the trough there would be overwhelming buying pressure (why sell when it's going up?).

To combat these moments of market imbalance, we could potentially utilize BSIP's 19/20 (MPA/UIA dividends) to incentivize the purchase of HERTZ at the peak and the sale of HERTZ during the trough.

What do you think? Dividends for providing market making?
Hertz, Beyond Bitshares, Gridcoin!

Offline Customminer

  • Sr. Member
  • ****
  • Posts: 454
  • Bitshares FTW!
    • View Profile
    • Gridcoin.US
  • GitHub: grctest
Re: HERTZ - Oscillating Formula Based Asset
« Reply #16 on: September 23, 2017, 09:23:11 pm »
I've been thinking about HERTZ recently, and thought about what if we simply pegged against BTS and applied the sin wave modifier to that? So the Hertz token would range from 0.5 to 1.5 BTS throughout the month.

Why use BTS as the reference asset?
  • Less risk of force settlement due to BTS (or reference asset) price volatility.
  • Decoupling of BTS from external assets.
  • Less likelihood of global settlement events taking place due to reduced forced settlement risk.
  • Predictable price volatility, enabling risk-free borrowing given sufficient collateral.

I suppose it'd be the same as using bitUSD as collateral to borrow bitUSD into existence, except using the core BTS asset.

Steemit post: https://steemit.com/bitshares/@cm-steem/back-to-algorithm-based-assets-and-targeting-bts-as-an-mpa-s-reference-asset

Thoughts?
« Last Edit: September 23, 2017, 09:50:10 pm by Customminer »
Hertz, Beyond Bitshares, Gridcoin!

Offline Customminer

  • Sr. Member
  • ****
  • Posts: 454
  • Bitshares FTW!
    • View Profile
    • Gridcoin.US
  • GitHub: grctest
Hertz, Beyond Bitshares, Gridcoin!

Offline Customminer

  • Sr. Member
  • ****
  • Posts: 454
  • Bitshares FTW!
    • View Profile
    • Gridcoin.US
  • GitHub: grctest
Re: HERTZ - Oscillating Formula Based Asset
« Reply #18 on: September 29, 2017, 09:20:39 am »
Once the HERTZ price feeds are in a production worthy state & BSIP-0018 is implemented, would anyone be interested in being a private price feed publisher?
Hertz, Beyond Bitshares, Gridcoin!

Offline Customminer

  • Sr. Member
  • ****
  • Posts: 454
  • Bitshares FTW!
    • View Profile
    • Gridcoin.US
  • GitHub: grctest
Re: HERTZ - Oscillating Formula Based Asset
« Reply #19 on: September 30, 2017, 04:07:46 pm »
I created an ELI5 worthy intro to HERTZ on steemit: https://steemit.com/hertz/@cm-steem/what-is-the-hertz-algorithm-based-asset
Hertz, Beyond Bitshares, Gridcoin!

Offline Customminer

  • Sr. Member
  • ****
  • Posts: 454
  • Bitshares FTW!
    • View Profile
    • Gridcoin.US
  • GitHub: grctest
Re: HERTZ - Oscillating Formula Based Asset
« Reply #20 on: October 01, 2017, 06:34:15 pm »
Some interesting ideas:

Creating a Trochoid (https://en.wikipedia.org/wiki/Trochoid) or Cycloid (https://en.wikipedia.org/wiki/Cycloid) ABA.


Creating a Trochoidal wave (https://en.wikipedia.org/wiki/Trochoidal_wave) ABA - "In fluid dynamics, a trochoidal wave or Gerstner wave is an exact solution of the Euler equations for periodic surface gravity waves. It describes a progressive wave of permanent form on the surface of an incompressible fluid of infinite depth."

Alternatively, combining sin waves (wave inference) with different frequencies (calculator: https://academo.org/demos/wave-interference-beat-frequency/)

« Last Edit: October 01, 2017, 06:36:05 pm by Customminer »
Hertz, Beyond Bitshares, Gridcoin!

Offline Customminer

  • Sr. Member
  • ****
  • Posts: 454
  • Bitshares FTW!
    • View Profile
    • Gridcoin.US
  • GitHub: grctest
Re: HERTZ - Oscillating Formula Based Asset
« Reply #21 on: October 09, 2017, 02:34:42 pm »
Price feed script changes

  • Created a price feed verification script! Using this, I was able to confirm that the phase was correctly set & Wednesdays line up as the primary Hz day for the next 10 years.
  • Created dedicated python functions for improved dynamic use. Anyone can fork the price feed scripts, change these values and begin publishing price feeds for your issued ABA.
  • Pushed updates to Xeroc & Wackou's price feed script PRs.

Spreadsheet changes

  • Improved timestamp accuracy (now accounts for change in period)
  • Applied new default variables
  • Included proof of phase validity (10 years of wednesdays with only values 0.5, 1.0 & 1.5).

Variable changes

  • Amplitude = 1/3 (No longer 1/2)
  • Period = 28 days (No longer 30.43, to line up with the typical work week).
  • Phase = < 1 day (To make wednesday the primary Hz day).
Community updates

  • I've spoken during the last two (40 &amp; 41) bitshares hangouts about HERTZ.

TODO

  • Poll multiple full nodes for the BTS/USD settlement price, so as to harden script from compromised nodes.
  • Find willing high-frequency (at least a couple times per day) price feed publishers.
  • Improve upon the hertz-verification.py script
    • Output charts within the script.
    • Possibly pull BTS historical data to plot how HERTZ would have faired against past price movements.
  • Further consider the amplitude value (still too high?)
  • Run initially in Bitshares testnet.
  • Wait for BSIP-0018 to go live prior to running HERTZ asset in production.

Best regards,
cm-steem
Hertz, Beyond Bitshares, Gridcoin!

Offline Customminer

  • Sr. Member
  • ****
  • Posts: 454
  • Bitshares FTW!
    • View Profile
    • Gridcoin.US
  • GitHub: grctest
Re: HERTZ - Oscillating Formula Based Asset
« Reply #22 on: January 09, 2018, 10:40:32 pm »
I recently posted an update regarding Hertz to Steemit: https://steemit.com/bitshares/@cm-steem/hertz-updates-seeking-price-feed-publishers

I'm seeking new price feed publishers, specifically Bitshares witnesses.

The smartcoin currently requires 7 price feed publishers, and we've got our first - @rolandp, thanks you very much!

I'm hopeful that we can reach 7 publishers soon.

Best regards,
CM.
Hertz, Beyond Bitshares, Gridcoin!

Offline Customminer

  • Sr. Member
  • ****
  • Posts: 454
  • Bitshares FTW!
    • View Profile
    • Gridcoin.US
  • GitHub: grctest
Re: HERTZ - Oscillating Formula Based Asset
« Reply #23 on: January 10, 2018, 04:51:22 pm »
We've got our first witness! [member=43607]roelandp[/member]!

A huge shout out to him, this is the first step towards HERTZ trading on the BTS DEX!

6 more to go :)

https://steemit.com/bitshares/@cm-steem/hertz-14-activated-6-more-bitshares-witnesses-to-go
Hertz, Beyond Bitshares, Gridcoin!

Offline Customminer

  • Sr. Member
  • ****
  • Posts: 454
  • Bitshares FTW!
    • View Profile
    • Gridcoin.US
  • GitHub: grctest
Re: HERTZ - Oscillating Formula Based Asset
« Reply #24 on: January 11, 2018, 12:38:43 am »
New website: https://sites.google.com/view/hertz-aba/
New domain: www.hertz.network  (Should redirect to the above)
Hertz, Beyond Bitshares, Gridcoin!

Offline Customminer

  • Sr. Member
  • ****
  • Posts: 454
  • Bitshares FTW!
    • View Profile
    • Gridcoin.US
  • GitHub: grctest
Re: HERTZ - Oscillating Formula Based Asset
« Reply #25 on: January 12, 2018, 11:31:28 pm »
Thanks to [member=43607]roelandp[/member], the reference price feed script has been fixed so as to output the correct price feed.

I've updated both the reference price feed script repo and the BTS HUG REST API repo to reflect this change.

Looking forwards to additional active witnesses publishing price feeds for the Hertz MPA!  +5%

Edit:

Just updated the first post to reflect the latest changes!
« Last Edit: January 12, 2018, 11:38:44 pm by Customminer »
Hertz, Beyond Bitshares, Gridcoin!

Offline Customminer

  • Sr. Member
  • ****
  • Posts: 454
  • Bitshares FTW!
    • View Profile
    • Gridcoin.US
  • GitHub: grctest
Re: HERTZ - Oscillating Formula Based Asset
« Reply #26 on: January 16, 2018, 06:25:08 pm »
Hertz, Beyond Bitshares, Gridcoin!

Offline Customminer

  • Sr. Member
  • ****
  • Posts: 454
  • Bitshares FTW!
    • View Profile
    • Gridcoin.US
  • GitHub: grctest
Re: HERTZ - Oscillating Formula Based Asset
« Reply #27 on: January 16, 2018, 11:48:21 pm »
Updated the reference Hertz price feed script:
  • Updated rate calculation
  • Code cleanup - moving code around & changing comments.
https://github.com/BTS-CM/scripts/blob/master/hertz-feed.py

Updated the HUG REST API function:
  • Stop crashing due to non-publishing manually configured private price feed publishers.
  • Inherited the hertz-feed updated formulas.
  • Showing more info in the
https://btsapi.grcnode.co.uk/get_hertz_value?api_key=123abc
Hertz, Beyond Bitshares, Gridcoin!

Offline Customminer

  • Sr. Member
  • ****
  • Posts: 454
  • Bitshares FTW!
    • View Profile
    • Gridcoin.US
  • GitHub: grctest
Re: HERTZ - Oscillating Formula Based Asset
« Reply #28 on: January 17, 2018, 11:25:25 am »
https://steemit.com/bitshares/@cm-steem/hertz-71-activated-on-the-bitshares-network-2-more-witnesses-to-go

We're up to 5 of the 7 required witnesses now! Getting close to activation!
Hertz, Beyond Bitshares, Gridcoin!

Offline Customminer

  • Sr. Member
  • ****
  • Posts: 454
  • Bitshares FTW!
    • View Profile
    • Gridcoin.US
  • GitHub: grctest
Re: HERTZ - Oscillating Formula Based Asset
« Reply #29 on: January 18, 2018, 11:11:58 pm »
Created a price feed script HTML page for Hertz: https://btsapi.grcnode.co.uk/home
Hertz, Beyond Bitshares, Gridcoin!