Jalah
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    --- title: Leveraged strategies (slides) author: Alexis Direr tags: general type: slide slideOptions: theme: solarized --- # Leveraged strategies (slides) --- - Basics of leverage strategies - What is volatility decay - How to mitigate it ? - Implications for market making --- --- - There is a huge demand for leveraged products, as demonstrated by the popularity of perpetual futures proposed by CEX (Binance, FTX, ...) and on-chain protocols like dYdX or GMX. - Leveraged return can also be obtained by borrowing assets in lending protocols but is complex to manage. --- - A limited offer exists that assists retail investors with the financial engineering and daily management of borrowing-based leveraged strategies. - The [Ethereum Flexible Leverage Index](https://medium.com/indexcoop/introducing-the-flexible-leverage-index-fli-by-pulse-inc-a369bd422ef) (ETH2x-FLI), which market cap is $12m, leverages a collateralized debt position on ETH by targeting a long 2x exposure to ETH. --- - The management of the strategy is abstracted away into an index fund ![](https://i.imgur.com/yrLNJCd.png) --- - A persitent difficulty with leveraged return is [volatility decay](https://indexcoop.com/blog/fli-volatility-drift) (VD). - VD is a small discount on return which compounds with price volatility. - It is well documented in traditional finance since the launch of the first [Leveraged ETFs](https://www.investopedia.com/articles/exchangetradedfunds/07/leveraged-etf.asp) in 2006. --- Example of UPRO ($3 \times$ leveraged S&P 500 ETF) | | S&P 500 | UPRO (3x) | | ---------------- | ------: | --------: | | 12 January 2020 | 3329 | 36.19 | | 15 March 2020 | 2300 | 10.15 | | 21 December 2020 | 3709 | 38.43 | | 2020 performance | 11.4% | 6.2 % | --- ## Origin of volatility decay Variation rates do not add up when the price loops: ![](https://i.imgur.com/KYAesIm.png)) --- What happens when a fund targets a $3 \times$leverage: ![](https://i.imgur.com/Y8VDn5b.png) --- The same for short leveraged positions: ![](https://i.imgur.com/AT5SZtG.png) --- ### Second cause of volatility decay - the way a leveraged fund rebalances its debt to guarantee a fixed leverage ratio. --- ### Leveraged long strategy - deposit $x_0$ ETH in a lending protocol - borrow $\delta y_0$ USDC - with the borrowed amount, buy more ETH --- - The price goes from $p_0$ to $p_1$ - the leveraged return: $$ \Big( 1+\dfrac{ \delta y_0}{p_0 x_0} \Big) \Big( \dfrac{p_1}{p_0} - 1 \Big) $$ - is amplified by the leverage ratio $\delta y_0/p_0x$. - For a $3 \times$ long strategy, the manager (or smart contract) borrows twice the collateral's value. --- - Suppose the amount borrowed is not changed. - Next period, if: -- the price has increased (profit): the leverage ratio of next period will be *lower* -- the price has decreased (loss): next period leverage ratio will be *higher*. --- To maintain a fixed leverage ratio, the fund needs to - borrow more USDC to buy more ETH after a price increase - sell some ETH, repay part of the debt in case of price decrease. --- - In order to reset the appropriate amount of leverage, the manager is led to follow a *pro-cyclical* investment strategy. - This is is appropriate when the price is heading to a single direction. - When it fluctuates back and forth, the return is affected by volatility decay. --- ### Volatility decay - In the ETH2x-FLI [documentation](https://help.tokensets.com/en/articles/5049454-eth2x-fli-faqs): - *The index is rebalancing as the price is decreasing and thus selling as the price goes down. That means that if the price drops and comes back up, the Net Asset Value at the end will be less than the Net Asset Value at the beginning.* $\rightarrow$ Explains why investors are warned against holding their position over long periods of time. --- [Investopedia](https://www.investopedia.com/articles/exchangetradedfunds/07/leveraged-etf.asp): - *Maintaining a constant leverage ratio (...) is how the fund is able to provide double the exposure to the index at any point in time, even if the index has gained 50% or lost 50% recently. Without rebalancing, the fund's leverage ratio would change every day.* --- - VD also affects perpetual futures. - If a trader is leveraged long and the price increases (profit), without rebalancing, next period leverage will be lower. - FTX proposes ERC20 [leveraged tokens]() invested in FTX [perpetual futures](https://ftx.com/markets/futures). --- - From their [documentation](https://help.ftx.com/hc/en-us/articles/360032509552-Leveraged-Token-Walkthrough): - *[BULL](https://ftx.com/trade/ETHBULL/USD)/BEAR/[HEDGE](https://ftx.com/trade/ETHHEDGE/USD) tokens will automatically reinvest profits into the underlying asset; so if your leveraged token position makes money, the tokens will automatically put on 3x leveraged positions with that. Conversely, (...) if you (...) buy ETHBULL, the leveraged token will automatically sell off some of its ETH as markets go down.* ---- - VD in Mycelium Perpetual pools (ex Tracer DAO) - From their [Discord](https://discord.com/channels/808906099172442122/887464543058534432/1002207147133763644): ![](https://i.imgur.com/V1uQEBS.png) --- ### Inverse strategy - An inverse or short strategy consists in borrowing the base asset, here ETH, and selling it for USDC. - This strategy is also affected by volatility decay. --- Leveraged short strategy - deposit $y_0$ USDC in a lending protocol - borrow $\delta x_0$ ETH - sell ETH --- - Leveraged return for prices $p_0$ and $p_1$: $$ -\dfrac{p_0 \delta x_0}{y_0} \Big( \dfrac{p_1}{p_0} - 1 \Big) $$ - Leverage ratio: $-p_0 \delta_0/y_0$ - A strategy achieves $-1 \times$ETH by borrowing the collateral value and $-2 \times$ETH by borrowing twice the collateral value. --- - with the same amount borrowed, two possibilities next period -- the price has increased (loss): leverage ratio is *higher* -- the price has decreased (profit): leverage ratio is *lower* --- To maintain a fixed leverage ratio, the fund needs to - *buy* ETH to deleverage after a price increase - borrow more and *sell* ETH in case of price decrease. - buys when the price is up and sells when it is down. If the price moves back and forth, the return is affected by volatility decay. --- ### VD-free leveraged strategies - For a protocol offering leveraged service, warning users against volatility decay and advising them to leverage only for short periods of time is self-defeating. - How to eliminate volatility decay: do not rebalance the debt after price variations. --- - VD-free leveraged long strategies -- deposit $x_0$ ETH -- borrow $\bar{y}$ USDC -- buy ETH with USDC -- Do not rebalance --- - Simulations: -- ETH price is $1300 -- Deposited assets are $x_0=100$ -- Initial leverage ratio is $2$ -- $\bar{x}= 100$ -- $\bar{y}=$ 130,000 USDC --- Leveraged and unleveraged wealths ![](https://i.imgur.com/d8CyR3J.png =677x484) --- Leverage ratio ![](https://i.imgur.com/wGQn11p.png =677x484) --- - The leverage ratio is decreasing with price. - In exchange of a variable leverage ratio, investors are protected against price volatility. - A drawback of not rebalancing the debt is that the fund may become insolvent or liquidated if the price decreases too much. --- - VD-free inverse strategies -- deposit $y_0$ USDC -- borrow $\bar{x}$ ETH -- sell ETH for USDC -- Do not rebalance --- - Simulations: -- ETH price is $1300 -- Deposited assets are $100$ ETH -- debt $\bar{x}= 100$ ETH -- Initial leverage ratio is $-1$ --- Leveraged short and unleveraged wealths ![](https://i.imgur.com/KHRbOYA.png =677x484) --- Leverage ratio ![](https://i.imgur.com/3Y9DvWt.png =677x484) --- - Is there a continuous trade-off between VD and stable leverage? - From [Risedle](https://risedle.com/) [Discord](https://discord.com/channels/898463992991846400/900345756202983444/937314785379364885): ![](https://i.imgur.com/HZxpAn0.png) <!-- ETH: no rebalancing between 1.7 and 2.3 --> - 2 $\rightarrow$ $1.7$: $-21$% price variation - 2 $\rightarrow$ $2.5$: $+17$% price variation --- ![](https://i.imgur.com/dAx8tJy.png) --- Cost of VD ![](https://i.imgur.com/RFbwQn5.png =750x500) --- ## Market making with leverage --- | | Market making | Leverage Long | | -------- | -------- | -------- | | Need to define a price range | Yes | Yes (most importantly a lower bound in leveraged longs) | | The tighter the price range ... | the more profitable | the higher leverage | --- | | Market making | Leverage Long | | -------- | -------- | -------- | | The price falls below the lower bound | The strategy is paused | The position is liquidated | | The price rises above the upper bound | The strategy is paused | Leverage is close to $1$ | --- | | Market making | Leverage Long | | -------- | -------- | -------- | | Cost of repositioning the price range | Inventory risk | Volatility decay | | Benefits of repositioning the price range | More capital concentration | Resets the leverage ratio | --- - How to use leverage in market making? - How to frame the MM strategy? - Can we extend the [$\phi$ model](https://hackmd.io/@pre-vert/smm) to leveraged strategies? --- ![](https://i.imgur.com/RnsCqB3.png) - price range without leverage: $[1230, 3750]$ - with leverage ($1.5$ to $-0.5$): $[100, 5000]$ --- ### Leverage long - At date $t$, the fund holds $x_{t-1}$ ETH - part $x_0$ is owned by the fund - the rest has been purchased with debt $y_{t-1}$ - The manager chooses $\delta y_t$, the new borrowed amount or repayment. --- - Leveraged return between dates $t$ and $t+1$: $$ \Big( \dfrac{p_{t+1}}{p_t} -1 \Big) \Big( 1+\dfrac{ y_t }{p_t x_{t-1} - y_{t-1}} \Big) $$ $$ = \text{price variation rate} \times \big( 1+\dfrac{\text{debt}}{\text{net worth}} \big) $$ --- ### Making a profit from volatility - Date $0$ net worth: $p_0 x_0 - y_0$ - Date $1$ net worth: $p_1 x_0 - y_0$ - Adding or repaying some debt $\delta y_1$ - Make a profit at date 2 with $p_2 = p_0$ (price loop): $$ p_0 (x_0 + \dfrac{\delta y_1}{p_1}) - y_0 - \delta y_1 \geq p_0 x_0 - y_0 $$ --- Two cases to profit from volatility - $p_1 > p_0$, $\delta y_1 < 0$ (deleverage) - $p_1 < p_0$, $\delta y_1 > 0$ (more leverage) --- | | Price increase | Price decrease | | ----------------- | -------------- | -------------- | | Constant leverage | more debt | less debt | | VD-free leverage | same debt | same debt | | Market making | less debt | more debt | --- ETH portfolio weight $$ \omega_t = \dfrac{p_t x_t}{p_t x_t - y_t} = \dfrac{\text{ETH value}}{\text{net worth}} $$ --- - In the particular case of a VD-free leveraged strategy (fixed amount of debt $\bar{y}$ and borrowed ETH $\bar{x}$), the leverage ratio is *equal* to the ETH portfolio weight : $$ \dfrac{\bar{y}}{p_t ( x_0+\bar{x}) - \bar{y} } + 1 = \omega_t $$ --- Leverage ratio = portfolio weight ![](https://i.imgur.com/wGQn11p.png =677x484) --- - The VD-free leveraged strategy is like a passively held portfolio (no rebalancing) - in which the ETH weight is *decreasing* with price - Feels like a MM strategy, but it's not - The portfolio weight is decreasing with price, but *not enough*. --- ### Minimalist modeling - Choose a minimum price $p_{min}$ - $\alpha >1$ is the minimum collateral ratio (lowest ratio of collateral to debt that will not trigger a liquidation) - Maximum debt for minimum price: $$ y_{max} = \dfrac{p_{min}x_0}{1-\alpha} $$ --- Leveraged long strategy (linear) with $p_{min}=100$ ![](https://i.imgur.com/rkDluZD.png) ---- ![](https://i.imgur.com/RnsCqB3.png) --- Path independent leverage (example) ![](https://i.imgur.com/ieRx35z.png) --- Leveraged short strategy (linear) with $p_{max}=5000$ ![](https://i.imgur.com/Y7YBToh.png) ----

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully