TokenEngineeringCommunity/BalancerPools_Model

Sim outcome C3 Analyse LP pool share value when exit

AngelaKTE opened this issue · 2 comments

  • see spec:
    C3 Analyse LP pool share value when exit
    This Jupyter Notebook allows to simulate a single-side liquidity withdrawal. You can compare payout value between tokens, analyse potential losses (or profit) and find the right time to withdraw (max/min functionality? patterns?)
    limitation: we don’t consider gas fees

  • check best chart/comparison
    https://docs.google.com/document/d/1asyGzZNVDTnsJ3CdEh3Vpv-buRXCJ8yVgNsNMyxMs8E/edit#

@Vasily pls check:
What's the exact outcome/sim chart for C2?

  1. The exact outcome for C2 should be a chart based on the result of the function slippage_out vs time for selected token_out type(s) and token_amount_out number (can be re-calculated from given USD LP share value).
    The main goal is to demonstrate the difference in slippage_out for different token_out and token_amount_out or USD LP share value