# MLP base pool ## 0. intro During the initial initiation and subsequent rebalancing of the bot, the question arises of correctly calculating the corridor of the pool being created. To set the corridor in which the pool is active, you need to set the upper and lower boundaries of the corridor. The corridor is calculated as a delta from the current market price. ## 1. dictinary 1. **`base`** = base price(foundation for all calculation) 2. **`p_max`** = max price of lp corridor 3. **`p_min`** = min price of lp corridor 4. **`delta_1`** = different from base price to `p_max` 5. **`delta_1`** = different from base price to `p_min` ## 2. explanation The corridor could be ### 2.1. asymmetric model ![](https://i.imgur.com/2xZqiUP.png) in a asymmetric model `delta_1 != delta_2` ### 2.2. symmetric model ![](https://i.imgur.com/0Ua66rX.png) in a symmetric model `delta_1 = delta_2` ## 3. questions As part of the implemented strategy: 1. Is the market price the price of the last trade in a given uniswap pool? 2. Do we use a symmetrical or asymmetric model? 3. Based on what data we determine delta (delta_1 and delta_2 for an asymmetric model) 4. under what conditions should rebalancing be activated - when leaving the corridor or when approaching it?