Monday, October 10, 2022

Case Study of Crypto Failure

 This article describes a few of the high profile cases of crypto collapse in 2022.

1. Terraform Labs

Terraform Labs is a Singapore based fintech company.

Its tokens include UST, a algorithm based stable coin, and LUNA, which is designed to absorb stable coin volatility.

Its Defi products includes:

  1.  Anchor, a savings product that paid as high as 20% on UST deposits.

  2. Mirror, allows investors to trade synthetic assets, such as Tesla, Microsoft shares

  3. Chai, a payment app that has 2 million users in South Korea

UST lost its peg to US dollar in May 2022. Overnight, UST and Luna literally became worthless tokens. The whole Terra ecosystem collapsed. Many investors lost millions of savings.

The founder of Terraform Labs, Do Kwon (South Korea citizen), becomes a wanted person on Interpol red notice.

https://coingeek.com/terra-do-kwon-now-wanted-in-195-countries-after-interpol-issues-red-notice/

His last known location is Singapore.


2. 3AC Capital

Three Arrows Capital (3AC) is a Singapore based crypto hedge fund. At one point managed, it manages 10 billions of assets. It collapsed after Terra UST crashed. It is supposed to hedge its exposure by buying and selling crypto based on risk adjusted returns. It probably collapse due to self inflicted bad investment decision process.

It made one directional investments in Luna Classic (LUNC), staked Ether (stETH), without hedging.

Its co-founder are Zhu Su (Singapore citizen since 2016, born in China), Kyle Davies (Singapore citizen, born in US), previously both worked as trader for Credit Suisse.

Zhu Su is selling his $48 million bungalow in Singapore.

https://www.coindesk.com/business/2022/07/01/three-arrows-capitals-su-zhu-looks-to-sell-35m-singapore-house/

3. Hodlnaut

It is a crypto investment firm, started since 2019, based in Singapore. The co-founders are Simon Lee and JunTao Zhu

JunTao Zhu (SMU graduate) previously worked for Credit Suisse.

In March 2022, Hodlnaut obtained approval for major payment institute license from MAS. In August 2022, it filed for judiciary management with Singapore high court.

In March 2021, an independent review confirmed it had $106 million assets.

In August 2022 , its assets was down to 69 cents.

https://en.wikipedia.org/wiki/Hodlnaut

4. Celsius Network

Its founder Alex Mashinsky (dual Israel - US citizen, born in Ukraine), started Celsius Network (HQ in London), in 2017. Alex is a serial entrepreneur. He was working on VoIP protocol previosuly.

Celsius is a crypto lending and borrowing platform. Investors lend out their crypto and earn returns, up to 18%.

Alex withdrew $10 million from Celsius in May 2022. The withdrawals came as customers were withdrawing assets in large quantities while the company was nearing bankruptcy.

Celsius filed for bankruptcy in July 2022.

5. Voyager Digital

It is a crypto asset broker started in 2017, in US. It provides lending and borrowing of crypto.

It was founded by Stephen Ehrlich.

It collapsed in part due to 3AC. It filed for bankruptcy in July 2022.

6. BlockFi

It is a crypto lending platform started in 2017, in US (HQ in NYC). It was founded by Zac Prince and Flori Marquez.

It lends U.S. dollars against bitcoin and other cryptocurrency collateral, as well as accepting deposits of cryptocurrencies which pay interest to the depositor. The high yield savings offers interest as high as 9%.

It also has Bitcoin credit card and Bitcoin trust.

It owned licenses from various state in US. https://blockfi.com/licenses

It almost collapsed and was rescued by FTX  in June 2022.











Monday, June 21, 2021

Cakes get stolen on PancakeSwap

Last month, when accessing Pancake Swap, i was prompted to select Auto CAKE. I clicked it, and the CAKE and BNB in my Metamask were stolen. Cryptos in my Metamask account were wiped out.



My CAKE was sent to address 0x50FD6C573a0C86C939f301299fb49FDeBc996120

Be extra careful when using Metamask with Pancake Swap.


Saturday, June 19, 2021

Liquid Swap vs Launch Pool

Today we talk about Liquid Swap and Launch Pool on Binance.com. 

Liquid Swap

Liquid swap (LP) is an automated market maker (AMM) to facilitate crypto pair exchange. AMM earns bid ask spread and commission income, and shares the income with liquidity provider. 

As an example, when you choose to provide liquidity for USDT/BNB pair, whenever other users trade USDT/BNB, part of their commission fee would be distributed back to you.

Liquidity swap is able to provide investors with high return, as seen below.


To add liquidity, you choose the currency pair, then click add, a new window will be shown.


You can add currency pair, or just add a single currency. If adding currency pair, it will be 1:1 ratio of the two cryptos in the currency pair. This is to make the liquidity pool having the same amount of both cryptos.

By participating in a liquid swap , you become a liquidity provider. Your participated portion becomes a share of the crypto exchange provider. The possible risk is impermanent loss.

Launch pool

It is also called launchpad in Binance. 


Basically, a new crypto project is started in launch pool. They use BNB to do the mining. You stake your BNB , and get rewarded with the new token.


That is all for today.



Thursday, January 21, 2021

Thai Hospital Stocks Review: BCH vs BH

This write-up will attempt to compare BCH and BH company. Both are listed on SET Thailand.

Bangkok Chain Hospital (BCH) operates its business as a group of hospitals which consists of twelve hospitals and one polyclinics in Bangkok and upcountry to provide medical services in the level of primary-tertiary care under three hospital groups

1. World Medical Hospital targets high-income cash patients and international patients. 

2. Kasemrad International Hospital targets upper middle-income cash patients.

3. Kasemrad Hospital targets middle-income cash patients and social security patients.

4. Karunvej Hospital targets social security patients.

Its biggest shareholder is Mr. Chalerm Harnphanich (32.6%). The company is controlled by the HARNPHANICH family.

BCH29/12/201728/12/201830/12/201930/12/2020
Last Price(Baht)16.216.717.113.6
Market Cap.40398.7241645.5942643.0933914.97
EPS (Baht)0.370.440.460.38
P/E48.2537.936.6828.45
P/BV8.187.667.095.12
Book Value per share (Baht)1.982.182.412.66
Dvd. Yield(%)1.051.21.351.69

Looking at the table above , the EPS hovers around 0.37 to 0.46. However, the P/E drops from 48.25 to 28.45.

Bumrungrad Hospital (BH) operates a private hospital namely Bumrungrad International hospital in Bangkok, which serves both local and international clients. The Company provides complete healthcare services for both outpatients and inpatients and also invests in the related health care services businesses.

Its biggest shareholder is Bangkok Dusit Medical Services (23%).

BH29/12/201728/12/201830/12/201930/12/2020
Last Price(Baht)189187.5147120
Market Cap.137722.19136640.88107139.6895350.28
EPS (Baht)5.415.75.141.33
P/E35.8833.3627.9949.81
P/BV8.867.845.625.18
Book Value per share (Baht)21.3423.9126.1823.15
Dvd. Yield(%)1.321.441.972.59

Looking at the table above, its EPS is dropping sharply from 5.14 to 1.33 due to Covid19. At the same time, its P/E ratio increase from 27.99 to 49.81. 

The Thai healthcare sector is on the path to recovery. The patients numbers is forecast to increase following the expected Covid19 containment in 2021. BCH shows its earnings resilience as it generates income from Social Security Office (37% of revenues in 2020). BCH's P/E ratio relative to BH is 28.45/49.81 = 0.57. BCH is undervalued relative to BH.

Friday, January 15, 2021

Thai Retail Stocks Review - CPF vs BJC

Charoen Pokphand Foods (CPF) is a vertically integrated agro-industrial and food company
  • 1. Production and distribution of animal feed
  • 2. Animal breeding, meat processing
  • 3. Semi-cooked and cooked meat products, ready to eat meals, restaurants and retail shops
Three year trend

Item

2019

2018

2017

Sales (MB)

544,875

555,503

515,197

Total Assets (MB)

634,051

628,091

593,497

Net Income (MB)

18,456

15,531

15,259

Year End Stock Price (B)

27.50

24.60

24.00



Berli Jucker (BJC) is a supply chain, distribution and retail company. Thai Charoen Corporation (TCC) is major shareholder of the company. TCC and Thaibev(SGX:Y92) are owned by the same Thai family.

  • 1. Modern retail supply chain - Big C Supercenter, Pure Pharmacy
  • 2. Packaging supply chain - Glass packaging products, aluminium can packaging, plastic packaging
  • 3. Customer supply chain - food, personal care, household products
  • 4. Healthcare supply chain - medical supplies
  • 5. Others - AsiaBooks

  • Three year trend

    Item

    2019

    2018

    2017

    Sales (MB)

    174,037

    172,196

    164,197

    Total Assets (MB)

    325,804

    324,059

    315,058

    Net Income (MB)

    7,065

    7,248

    5,974

    Year End Stock Price (B)

    43.25

    50.75

    66.00



    Cross Sectional Analysis (for year 2019)
    TBC



    Saturday, July 28, 2018

    Trade war that is easy to win


    Donald Trump once declared trade wars are easy to win. 

    In June, US applied 25% tariffs on 50 billion of Chinese goods. Three days later, US applied additionally 10% tariffs on 200 billion of Chinese goods. China responded with tariffs on 50 billion of US goods. 

    Which country has the advantage in this trade war ? Let us look at it from some perspectives.

    1. Trade balance
    China import from US : $130 billion
    China export to US : $500 billion
    US China trade alone accounts for more than 50% of US trade deficit. 

    China cannot keep up with US in charging tariff. China will run out of US goods to levy tariffs.

    2. Mutual dependency
    2.1 China relies on US for its core technology, such as the case of ZTE.
    ZTE is banned from buying components from US company.

    2.2 China depends on US for its agricultural products.
    China import from US for 95 million tonnes of soybean. China produces 14 million tonnes of soybean. If China is determined to self-produced soybean, it would need 506 billion sqm of agricultural land to be self sustainable. China has about 1400 billion sqm of agricultural land. Is it feasible to use up to 33% of agricultural land for the sole purpose of soybean farming? The answer is obvious.

    Argentina and Brazil are the number one and two soybean exported in the world. China could import soybean from Brazil. However, the soybean production, distribution, and sales network of Brazilian soybean are controlled by US company.

    2.3 US company dependence of China market
    GM sells more cars in China than in the US
    Apple's 40 billion market in China

    3. US dollar domination
    3.1 Japan, China, Germany, their foreign reserve is held in USD. They are creditors to US. If they do not lend money to US, US prints its own money. US dollar depreciates. It is not good for the creditors. Therefore they continue to buy US treasury bonds. Furthermore, China is a trading country, the issuance of RMB is based on their reserve in USD. 

    3.2 Crude oil is priced in US dollar. To buy oil, USD is needed.






    Saturday, April 28, 2018

    Singapore Stock Analysis: SPH

    Singapore Press Holdings (SPH) is listed on Singapore Exchange. This analysis was done on Apr 28, 2018. It is based on 2017 annual report.

    1) All the top management in SPH are top scholars.

    2) The CEO is granted 4 million ordinary shares accumulatively

    3) Retained profit is 2 billion, cash holding is 312 million, investment property is 4 billion, net asset is 4 billion

    4) Borrowings to be paid in one year,  is 1 billion

    5) The share price on Apr 27 is $2.76, net value per share is $2.5

    6) The fcfe is 450 million, pbt is 430 million, ocf is -19 mil (after dividends and income tax).


    Conclusion: The fcfe is positive. The share price is close to navps. The ocf  before income tax and dividends is 355 million. The ocf is negative,  because the dividends payment of 300 million is included in the calculation of net cash used in operating activities. The bank borrowing is 275 million.

    So the bank borrowing is used to support dividends payment and income tax payment.






    Monday, February 26, 2018

    FCFF and FCFE difference

    FCFF - Free cash flow to firm
    FCFE - Free cash flow to equity

    FCFF is the cash available to bond holders and stock holders after all expense and investments have taken place.

    FCFE is the cash available to stock holders after all expense, investments and interest payments to debt-holders on an after tax basis.

    What is difference between FCFF and FCFE ?

    The difference is the interest payment in FCFE. In FCFE you subtract the interest expense from the cash flow to do valuations. FCFF shows the obligations for both stockholders as well as bondholders whereas FCFE consider only the obligations for stockholders.

    Apart from the difference mentioned above, there are two more differences which are basically related to the approach that we will use while doing valuation. How do we calculate the FCFF and FCFE?

    ** FCFF can be calculated by using the formulae as mentioned below:-

    FCFF = EBIT (1- t) + Depreciation/Amortization – Change in Non- Cash Working Capital – Capital Expenditure

    Where,
    EBIT = Earnings before income tax
    t  = Corporate tax rates

    ** FCFE can be calculated by using formula mentioned below,

    FCFE = Net Income + Depreciation/Amortization – Change in Non- Cash Working Capital*(1-D) – Capital Expenditure*(1-D)

    Where,
    D  = Debt ratio

    Now, there lies two important points about these formulas, those are as follows:-

    1)      In FCFF, we use EBIT (1-t) whereas in FCFE, we use Net Income; this is because while using EBIT (1-t) in FCFF we do not consider the effect of interest payment as mentioned above.

    2)      IN FCFE, we use Change in Non-Cash Working Capital*(1-D) – Capital expenditure*(1-D) whereas in FCFF we use  Change in Non-Cash Working Capital – Capital Expenditure. This is because in FCFE, we just want to concentrate on cash flow due to equity only.

    To summarise:

    Factors :  FCFF
    Cash Flows :  Pre Debt Cash Flows
    Expected Growth : Growth in Operating Income = Reinvestment rate * ROC
    Discount Rate : WACC

    Factors : FCFE
    Cash Flows : post Debt Cash Flows
    Expected Growth : Growth in Net Income = Retention ratio * ROE
    Discount Rate : Cost of Equity




    Tuesday, December 5, 2017

    Thesis on Digital Currency

    Here is my master degree thesis on Bitcoin. The topic is :

    THE RISK PERCEPTIONS AND TECHNOLOGY ADOPTIONS OF E­-COMMERCE USERS
    TOWARDS DIGITAL CURRENCY

    It is on google drive at the link below :
    click at thesis link

    Wednesday, August 2, 2017

    Game Theory

    Basic Concepts of Game Theory
    Motivating Example
    Location Game: setting shop on a beach

    On a linear beach, there are two vendors, they charge the same price. Where should the vendors locate their shops?
    - in the center, near each other

    what if there are three vendors?
    - 3 vendors at the same spot, each get 1/3, one vendor moves, it gets more profit
    - 3 vendors different positions, one vendor moves to center, it gets more profit
    - no equilibrium

    Information
    Mutual Knowledge vs Common Knowledge
    Mutual Knowledge: all players know A
    Common Knowledge: everyone knows that everyone knows A

    Perfect Information vs Imperfect Information
    Perfect Information: the player knows the full history of the game so far
    Imperfect Information:  the player does not know parts of the history of the game, such as sealed bid auction

    Complete Information vs Incomplete Information
    Complete Informatio: the player knows the type of other players and rules of the game
    Incomplete Information: the incumbent does not know the true type of entrants

    Perfect but Incomplete Information Game
    - Price negotiation over used car at a dealer shop

    Action vs Strategy
    Bill has 5 actions and 6 strategies

    Normal Form Game (Strategic Form Game)
    - simultaneous game
    - static setting
    - represented by game matrix

    Prisoner's Dilemma Game

          |     C          D
    ---------------------------
    C   | -8, -8     -2, -15
    D   | -15, -2   -3, -3

    conditions
    - each player has dominant strategy
    - dominant strategy equilibrium (-8,-8) worse than optimal choice, dominant strategy equilibrium should be pareto inefficient to at least some other outcome (-3,-3)

    how to escape from prisoner's dilemma
    - price leadership
    - price signaling
    - focal points
    - info agglomeration: online price agglomeration could intensify or mitigate price wars. However, you lower the price, competitor can see it immediately, and copy the rpice, so it is not worth it to lower the price.
    - commitment

    strictly dominant strategy
    u(si, s-i) > u(si, s-i) for all si
    weakly dominant strategy
    u(si, s-i) >= u(si, s-i) for all si   and
    u(si, s-i) > u(si, s-i) for some si

    Iterated Dominance Equilibrium
    - dominated strategy, strategies that will not be played
    - eliminate strictly dominated strategy
    - eliminate weakly dominated strategy, iterated weak dominance is not robust

    Maximin Strategy Equilibrium
    - choose the strategy that gives you a max payoff among the min payoff from each strategy

          |       L          R                  payoff
    ---------------------------
    T   |    10, 4     8, 15                 8
    B   | -100, 5   20, 10               -100
    payoff     4        10

    Nash Equilibrium
    (x*, y*) is a NE if
    - x* is best choice given 2's choice of y*
    - y* is best choice given 1's choice of x*

    coordination game
          |    S         R
    ---------------------------
    S   | 5, 5     0, 1
    R   | 1, 0    1, 1

    anti-coordination game
          |    S            R
    ---------------------------
    S   | -5,- 5     10, 20
    R   | 20, 10    -3, -3

    if multiple NEs:
    1. use focal points
    - cultural convention
    - social convention
    - common perception

    2. use risk dominance
    if (v>=1),(v>=1) at least one of them is strict inequality, then (S,S) payoff dominate (R,R)
          |    S       R
    ---------------------------
    S   |  v,v     0, 1
    R   | 1, 0    1, 1
    (v-1) > (1-0)
    (S,S) risk dominate (R,R)

    Mixed Strategy Nash Equilibrium
    - assign probabilities to pure strategies
                                     F
                    |   DL (q)     CC (1-q)    if Nadal choose
       -------------------------------
      (p) DL   |  50,50       80, 20          DL with prob p
    N ------------------------------
    (1-p) CC  |  90,10 .     20,80          CC with prob 1-p
                                                       so Federer payoff is
    if Federer chooses                   50p + 10(1-p) = 20p +80(1-p) => p=0.7
    DL with prob q                         if p> 0.7, q = 1
    CC with prob 1-q                         p < 0.7 , q =0
    so Nadal's payoff is                    p=0.7 , indiff over q
    50q + 80(1-q) = 90q + 20(1-q)
        q = 0.6
    if q<0.6, p =1
      q > 0.6, p = 0
      q = 0.6, indifference over p

    NE (p*, 1-p*) = (0.7, 0.3)
          (q*, 1-q*) = (0.6, 0.4)
    implications of mixed strategy NE
    - each player should mix his pure strategy so that the other player is indifferent among all his pure strategy
     choose (p,1-p) so that UDL = UCC
     choose (q,1-q) so that UDL = UCC
    - assign zero prob to dominated pure strategy
    - randomise just right, avoid outguessed by opponent
    - each player mix his pure strategies so that the other player is indifferent among all his pure strategies

    Oligopoly Games
                           |   compete on quantity      compete on price
    ------------------------------------------------------------------------
    simultaneous  |     Cournot                          Bertrand
    (static)            |
                           |    Cournot-                         Bertrand-
    sequential       |  Stackelberg                      Stackelberg
    substitute: q1 up -> q2 down
    collusion outcome less than NE outcome

    Application of simultaneous games
    Tragedy of the commons
    horizontal axis: % of car commuters
    vertical axis: payoff for commuters
    NE : (q, 1-q) 
    - q% commute in cars and (1-q)% in busses
    still not socially efficient
    - all commuting by busses is still Pareto efficient

    Sequential Games (Extensive Form Game)
    - dynamic setting
    - backward induction: for finite dynamic games, start from last stage of the game, not for infinite game
    - subgame perfect NE: rule out NE of non credible threat, for finite and infinite game

    Sequential Bargaining
    𝛿 > 50% , first mover adv              ; agreement reached in first round of bargaining
    𝛿 < 50%,  second mover adv
    0< š¯›æ <100%,  š¯›æ is time value

    Subgame Perfect Equilibrium
    Example 1
    SPNE outcome (0, 4)
    SPNE strategy:
    If B choose R, A will choose (5, -1), so B will choose L, but A will not choose R, A choose L, B choose R, so (0,4) is SPNE outcome.
    Strategic Moves
    To solve empty promise problem, make 5 worse than 4, cut (5,-1) branch, make 4 better than 5

    Example 2
    In game theory, having fewer option may be better, because you can manipulate the other player's choices so that outcome is better for you.

    Strategic Moves
    to influence opponents expectation about your action
    to get around prisoner' dilemma
    introduced by Thomas Schelling
    - cross shareholding
    - MFC clause (mutual adoption, 2 period model)
    - price matching guarantee policy (mutual adoption)
    - entry deterrence:
       -- side payment, merge, build a reputation, invest in extra capacity

    chicken game
    - two gangsters race their cars toward each other , the first one to chicken out loses.

    G                   Gang B
    a        | Straight          Avoid
    n   --------------------------------
    g   S   | -100,- 100      10, -2
    A   A   | -2, 10               0, 0

    - you don't know how to secure the equilibrium that is favorable to you, because they are two NE
    - so you use strategic moves to gain advantage
    - commitment, play aggressively, scare your opponents

    Entry deterrence
    - incumbent facing a potential entrant
    - entrant moves first, incumbent moves later
    - the latter can behave strategically to deter the entry

    I                   Entrant
    n        | Enter          Stay out
    c    --------------------------------
    u    E   | 100,20      200, 0
    m   S   |  70, -10      130, 0
    bent

    the NE is (100,20), it is incumbent dominant strategy, but potential entrant will enter

    a few options:
    - side payment, illegal?
    - marge, anti-competitive ?
    - build a reputation for being irrational, manipulate rivals choices to your advantage
    (incumbent can increase 70 to > 100, or decrease 100 to be < 70)











    the SPNE is (100,20)





    in chicken game, sequential game, use strategic moves to show commitment and gain advantage

    Fudenberg Tirole Taxanomy

    Your
    rival's
    actions
    Your firm commitment


    Tough soft
    Strategic complement You commit tough, your rival tough too
    (puppy dog)
    You commit soft
    your rival soft too
    (fat cat)
    Strategic substitutes You commit tough, your rival soft
    (top dog)
    You commit soft
    your rival tough
    (lean & hungry look)


    How to apply
    step 1: calculate your profit as a function of what the other players might do
     Ļ€you = f(others actions)
    step 2: guess your competitor's profits as a function of what you might do
     Ļ€others = f(your actions)
    step 3: can legally cooperate?
    if yes, use cooperative game theory
    if no, use non-cooperative game theory
    step 4: create the game's payoff
    step 5: pick the game strategies
    step 6:strategic moves
    step 7: make the moves

    (to be continued.)