Increasing Positions

    Question:

    Q2. Compare users terminating vs increasing positions over the last 30 days. By how much are they increasing positions? How much are they receiving back after terminating?

    Application of Mean Finance:

    The MeanFinance is a DCA tool developed to swap the ERC20 token to ERC20 token across periodic purchases of a target asset in an effort to reduce the impact of volatility on the overall purchase.

    One of the most used actions by MeanFinance users is Modify a position by:

    • Increase funds
    • Remove funds
    • Reorganize the available funds

    Approach:

    The methodology of this essay contains:

    • Increase position

      from polygon.core.fact_token_transfers  -- Use to recognize the volume of position increase
      where ORIGIN_TO_ADDRESS='0x059d306a25c4ce8d7437d25743a8b94520536bd5' and -- Mean Finance
      ORIGIN_FUNCTION_SIGNATURE='0xded700a6' -- specification of position increasing
      
    • Terminate position

      from polygon.core.fact_token_transfers  -- Use to recognize the volume of position terminate
      where ORIGIN_TO_ADDRESS='0x059d306a25c4ce8d7437d25743a8b94520536bd5' and -- Mean Finance
      ORIGIN_FUNCTION_SIGNATURE='0xded700a6' -- specification of position termination
      
    • Time period

      BLOCK_TIMESTAMP>=CURRENT_DATE-30 -- stands for the past 30 days
      

    Results:

    Loading...
    Loading...
    Loading...
    Loading...

    The consequences related to the position increasing on Mean Finance for the past 30 days represnted in the bar and pie graphs.

    The key findings of position increasing are:

    • The positions related to the USDC have been modified 8 times over the past 30 days and the volume of increasing position is 1566.47 USDC
    • The share of participants on position increasing by assets reveals that, the 50% of users have been participated on position increasing related to USDC token.

    As explained in the approach part, the asset termination is another actions done by Mean Finance users. The results related to this action displayed in two graphs.

    The Key findings of position termination on Mean finance over the past 30 days are:

    • The largest amount of receiving back after terminating is for USDC by 8123 USDC termination
    • The count of position termination for USDC positions is 42 times for the past 30 days.
    • The biggest group of participants on position terminating have participated on positions based on USDC by 74% of users.

    Additionally, Users can also choose to terminate their position at any point. When this happens, the position is destroyed, and all remaining and swapped balance is returned to the user.

    The reference of these explanations is Mean Finance.

    This essay seeks to find the transactions related to the increasing positions and terminating positions for the past 30 days.

    For both actions, the asset recognition and volume calculation should be done.