PrePop Labs
    • 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
    # Umami V2 Vault Backtesting Preliminary Results For the last few months at Umami Labs, we’ve been working hard to develop and refine the strategy for our upcoming “V2” vault - a product that will enable investors to gain exposure to the impressive levels of yield generated by GMX’s liquidity provider token (GLP) without being exposed to unwanted delta. Today we are excited to share some of the key findings and results from our simulation and backtesting phase in this preliminary report. ### Simulation purpose and methodology The purpose of the simulation step was to optimize the vault strategy, test the strategy's performance over real historic data, and stress test it with likely scenarios and edge cases. To achieve this, we pulled _all_ GMX and GLP data directly from the blockchain with a time granularity of 1 second and recreated the GMX contracts and our vault contracts in Python. The simulation accounted for every price, allocation, fee, and yield change, with careful consideration of accurately accounting for our vault's own effects in the simulation. The result was a powerful and invaluable tool that gives deep insight into the challenges and payoffs of potential strategies built on top of GMX. ### Key GLP findings #### GLP performance GLP benefits from receiving 70% of GMX's platform fees. It also acts as a counterparty to margin traders, and as such will benefit from traders losing and will suffer when they lose. GMX hosts a [comprehensive stats page](https://stats.gmx.io) which makes it easy for us to analyze its past performance both in terms of fees generated, and trader proft and loss (pnl). <span style="background-color:yellow">[graphs of trader pnl & fees taken for the simulation period]</span> During the simulation period, we saw traders take heavy losses, with the cumulative loss at the end of the period reaching approximately $30M, with daily fees relatively volatile and averaging around $200k. #### GLP composition The performance figures above show that GLP is a very strong product, however, building a vault on top of it is not free from challenges. When hedging out GLP's delta exposure, it is important to understand GLP's asset allocation changes along with the volatile asset price movements. With swaps, glp mint and burns, as well as trader activity, the asset weightings inside GLP can change rapidly and unpredictibly. Strategies based on passive weighting or ignoring these sharp asset changes performed very poorly as the delta exposure coupled with price movements could quickly wipe out gains. ![](https://i.imgur.com/0L3Hayb.png) <span style="background-color:yellow">Update this graph with area plot w/ stables combined - what period?</span> External hedging was identified very early on as the only viable way to build to achieve our delta neutral/tracking goals and maintaining proper delta exposure is critical to a successful long term strategy. A proper rebalancing algorithm analyzing the correct conditions and timing are key to driving performance, but this hedging can accrue a high cost if not done in the correct way. GMX fees in leverage positions of mint/burn/open/close/funding are all important to balance. <span style="background-color:yellow">[Need Delta Tracking Image Here]</span> ### Creating a Baseline Strategy A baseline strategy was created and optimized initially (Strategy A) of a stand alone USDC vault that fronts the full cost of hedging the volatile assets in GLP. This initial strategy was run to give a baseline to compare our Final Netting strategy results, and to ensure that even in the most extreme vault TVL imbalances, (User deposit and withdrawal fluctuations in the Umami vaults) this strategy can perform well. ![](https://i.imgur.com/43lHqUQ.png) ##### Strategy A key metrics - Overall gain for the period of 18.55%, (27.8% annualized) - Sharpe ratio of 1.4 - Max peak-to-trough drawdown of 4.37% GMX/GLP had great performance in this period from trader pnl, which helped the overall performance of the strategy, with $29.7m worth of assets being added to GLP aum ending in $272m for the period. After isolating the performance and removing any trader pnl effect the baseline Strategy A was still positive, which is exactly the result we were looking for. ### Final Strategy Design It was then time to finalize our master strategy; a series of vaults that cover each asset in GLP with advanced internal accounting and an allocation algorithm that can ensure extremely close delta exposure coverage with greatly reduced reliance on external hedging. <span style="background-color:yellow">[chart or graphic here]</span> The Netting Strategy (Strategy B) designed by Umami utilizes 5 vaults to reduce fees substantially and increase glp ownership to boost yield generated from the GMX platform fees. On average, the netting strategy saw a reduced hedging cost of 65-95%, based on vault balance and glp asset allocation volatility. It was able to boost GLP allocation, on average, by 11%. This allows for an extremely strong performance through the 8 months. ##### Strategy B key metrics - Overall gain for the period of 26.35%, (39.52% annualized) - Sharpe ratio of <span style="background-color:yellow">XXX</span> - Max peak-to-trough drawdown of <span style="background-color:yellow">X.X%</span> It's worth emphasising again that trader losses translating to GLP asset gains were a signficiant contributor to the overall performance during the backtesting period, yet even with these gains removed, the vault performance still comes in at an extremely strong 16.2% APR annualized, considering only GLP's WETH yield minus the fees incurred by the strategy. ### The Next Steps Whilst our focus is now on finalizing the smart contract code for the vault and taking through audits, we still have some extremely valuable information we can obtain from our simulation including optimizing strategy variables for increased performance, testing the effects of hedging open interest, and ensuring protection in edge cases and extremely rapid, dramatic changes in allocation, price or TVL. The nature of our vault's design and implementation means we can continue to optimize these parameters right up to, and even beyond the launch of the vault, and can exercise a level of responsiveness to changes in market conditions and trends. Whilst we hope that this report has been informantive and encouraging, we will also be working on a more comprehensive whitepaper that will be released at around the time that our new vaults launch. That document will go through the backtesting process and strategy in greater depth. Until then be sure to keep up to speed with the latest developments by following us on twitter, joining our discord, and tuning in to our weekly AMAs!

    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