Author Topic: Contract-for-Difference & bitAssets: Explain it to Me Like I'm Five  (Read 2153 times)

0 Members and 1 Guest are viewing this topic.

Offline speedy

  • Hero Member
  • *****
  • Posts: 1160
    • View Profile
  • BitShares: speedy
I really like the CFD explanation of BitAssets.

When explaining BitAssets to Bitcoiners, the word "peg" has too much baggage. They look at a graph of BitUSD fluctuating 10% day to day, and they say "the peg doesnt work", when really the "peg" is just one side of a CFD contract. Of course its not going to be 100% accurate - it doesnt have to be.

Offline Chronos

We need to switch to Discourse forum software so the number of "likes" can be properly tracked. Too easy to lose count.  :)

 +5%

Offline karnal

  • Hero Member
  • *****
  • Posts: 1068
    • View Profile

Offline merivercap

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
    • BitCash
Part 2: In the previous examples, we used US dollars and Apple shares as the two assets.  For the BitShares ecosystem, we use US dollars and BitShares.  Let's recreate Example 2 with BitShares.

Example 3: Let's suppose now Bob owns 100,000 BitShares.  If BitShare's price is $0.004, the value of Bob's 100,000 BitShares is $400.  Let's suppose Bob wants to lock in the value of his BitShares at $400 for a year.  Like Example 2, let's suppose Charlie has 100,000 BitShares just like Bob.  Charlie is very confident about BitShares and wants to get more exposure to BitShares, but has no extra cash.  Just like in Example 2, Charlie puts 100,000 BitShares (worth $400) as collateral.  Charlie encourages Bob to enter into a contract for difference and they do. 

Remember, Bob has now locked his $400 value although he still owns 100,000 in BitShares.  He effectively owns $400 for a year and is not affected by prices of BitShares moving up or down.  [Note:  In the previous examples, when Bob locks his value of Apple after entering into a contract for difference, he has the equivalent of $50,000 of cash for a year without having to sell his Apple shares. ]

If the value of 100,000 BitShares goes up to $800 in one year, Charlie is happy.  Bob may feel he missed out, but he is happy to have had certainty.  Bob pays Charlie $400 after selling 50,000 BitShares or can just send Charlie 50,000 BitShares.  In this scenario, Bob maintains his BitShares value at $400 and Charlie has three times his original value instead of just double.  He gains 100% more with the contract for difference than without.  Charlie still has his original 100,000 BitShares that is now worth twice as much plus $400 (or 50,000 more of BitShares) for a total of $1,200.

If instead the value of 100,000 shares of BitShares had gone down to $320 in one year, Charlie would have had to sell 25,000 BitShares and pay Bob $80 dollars (or alternatively send Bob 25,000 BitShares).  In this scenario Bob still maintains his value at $400 and Charlie now has 75,000 BitShares worth only $240.  Charlie loses 100% more with the contract for difference than without.  Instead of just losing $80, Charlie loses $160. 

If instead the value of 100,000 shares of BitShares had gone down to $200 in one year, Charlie would have had to sell 100,000 BitShares and pay Bob $200 dollars (or alternatively send Bob 100,000 BitShares).  In this scenario Bob still maintains his value at $400 and Charlie no longer has any BitShares!

Example 4.  Let's suppose now that immediately after entering the contract for difference in Example 3,  Bob wants to get $400 in cash instead of own 100,000 BitShares and have a contract with Charlie. 

Bob decides to package his 100,000 BitShares and his contract for difference with Charlie and calls it: $400 in BitUSD.

Feel free to discuss, correct, reword, simplify etc.....  please check my calculations.. I've been Doing Math Like I'm Three lately!
BitCash - http://www.bitcash.org 
Beta: bitCash Wallet / p2p Gateway: (https://m.bitcash.org)
Beta: bitCash Trade (https://trade.bitcash.org)

Offline merivercap

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
    • BitCash
Guys...had a math error... updated Example 2...  was late last night! 
BitCash - http://www.bitcash.org 
Beta: bitCash Wallet / p2p Gateway: (https://m.bitcash.org)
Beta: bitCash Trade (https://trade.bitcash.org)

Offline merivercap

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
    • BitCash
Realy well written but the difficult part will be how to link the CFD concept with fungible bit-assets coming into existence as an outcome of CFD.
This is where most explanations fail to maintain the initial simplicity.

Thanks and thanks everyone!  I think we'll get there!  Just hopefully we can try to simplify it as much as possible... I think the examples are already a bit too long for my taste.
BitCash - http://www.bitcash.org 
Beta: bitCash Wallet / p2p Gateway: (https://m.bitcash.org)
Beta: bitCash Trade (https://trade.bitcash.org)

Offline cass

  • Hero Member
  • *****
  • Posts: 4311
  • /(┬.┬)\
    • View Profile
█║▌║║█  - - -  The quieter you become, the more you are able to hear  - - -  █║▌║║█

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc

jakub

  • Guest
Realy well written but the difficult part will be how to link the CFD concept with fungible bit-assets coming into existence as an outcome of CFD.
This is where most explanations fail to maintain the initial simplicity.

Offline Ben Mason

  • Hero Member
  • *****
  • Posts: 1070
  • Integrity & Innovation, powered by Bitshares
    • View Profile
  • BitShares: benjojo
Your explanation really helped me to consolidate my understanding of bitassets. Thanks very much. Really well articulated.

Offline merivercap

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
    • BitCash
A contract for difference is an agreement between two people with regard to the price of two assets on a future date.  In order to settle the agreement, one person pays the difference of the price changes between two assets depending on how much one asset goes up or down in price relative to the other asset.  A contract for difference agreement is like a bet.  Each person usually reserves an amount of money or assets beforehand as collateral to settle this agreement. 

Example 1: Let's say one person named Bob owns 100 shares of Apple.  If Apple's share price is $500 right now, the value of Bob's 100 shares is $50,000.  Let's say Bob wanted to lock in the value of his Apple stock at $50,000 for a year.  Bob finds another person, April, who wants to invest in 100 shares of Apple for a year but does not want to purchase shares directly at a brokerage.  Bob & April enter into a contract for difference with each other. 

They agree that if Apple goes up, Bob will pay April the difference in value, because Bob's 100 shares will be worth more.  If the value of 100 shares of Apple goes down, April would pay Bob.  April brings $50,000 as collateral for the agreement.  Bob is now happy because he can lock in the his value in Apple at $50,000 no matter what Apple prices do over a year.  April is happy because she has the same exposure as investing in Apple shares directly. 

If the value of 100 shares of Apple goes up to $100,000 in one year, April is happy.  Bob may feel he missed out, but he is happy to have had certainty.  Bob pays April $50,000 after selling 50 shares.  In this scenario, Bob maintains his Apple value at $50,000 and April doubles her money and now has $100,000.  If instead the value of 100 shares of Apple had gone down to $10,000 in one year, April would have to pay Bob $40,000 dollars.  In this scenario Bob still maintains his value at $50,000 and April now only has $10,000. 

In this example, both parties reach agreement because Bob wants to lock his value, and April wants to have the same exposure as investing in Apple directly.

Example 2. Let's say Bob owns 100 shares of Apple and his friend Charlie also owns 100 shares of Apple.  Suppose Charlie is very confident about Apple and wants to get more exposure to Apple, but has no extra cash.  Just like April in example 1, Charlie can enter the same contract for difference with Bob for one year.  Unlike April who put $50,000 in cash as collateral, Charlie puts 100 shares of Apple (worth $50,000) as collateral.

If the value of 100 shares of Apple goes up to $100,000 in one year, Charlie is happy.  Bob may feel he missed out, but he is happy to have had certainty.  Bob pays Charlie $50,000 after selling 50 shares or can just send Charlie 50 shares.  In this scenario, Bob maintains his Apple value at $50,000 and Charlie now has three times his original value instead of just double.*  Charlie still has his original 100 shares that doubled in price plus $50,000 (or 50 shares more of Apple).

If instead the value of 100 shares of Apple had gone down to $40,000 in one year, Charlie would have to sell 25 shares and pay Bob $10,000 dollars (or alternatively send Bob 25 shares).  In this scenario Bob still maintains his value at $50,000 and Charlie holds 75 shares.

If instead the value of 100 shares of Apple had gone down to $25,000 in one year, Charlie would have to sell 100 shares and pay Bob $25,000 dollars (or alternatively send Bob 100 shares).  In this scenario Bob still maintains his value at $50,000, but Charlie no longer holds any shares!**

In this second example, both parties reach mutual agreement because Bob wants to lock his value, and Charlie wants to have double the exposure for his Apple shares.  The first and second examples are the same, except April uses cash as collateral and Charlie uses shares of Apple. When Charlie uses Apple shares as collateral, the value of the collateral shrinks or expands along with share prices.

The bitShares bitAsset system brilliantly implements the idea of contracts for difference to create market-pegged assets.  The BitAssets system is very similar to example two and also similar to example one.   

I was going to explain more, but ran out of time today...feel free to make suggestions on what to cut out.. make any corrections ... etc.. I want to make it easier for people to understand how bitAssets are created so we can offer more informed opinions about the future design.   I think it's important to understand the basics.

*Update: Charlie actually gets 3x his original investment instead of double.  The value of his original shares doubles and he gets an extra $50,000 from Bob.

**Update: Corrected share calculations in Example 2.   Sorry and please re-check my calculations!  :P
« Last Edit: May 18, 2015, 07:29:09 pm by merivercap »
BitCash - http://www.bitcash.org 
Beta: bitCash Wallet / p2p Gateway: (https://m.bitcash.org)
Beta: bitCash Trade (https://trade.bitcash.org)