> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lpagent.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Take Profit & Stop Loss

> Protect your positions with automated Take Profit and Stop Loss features

## Automated Position Protection

LP Agent provides sophisticated risk management tools to protect your liquidity positions and lock in profits automatically.

## Take Profit

Our Take Profit feature helps you secure gains automatically when certain profit targets are met.

### How Take Profit Works

<Steps>
  <Step title="Set Profit Target">
    Define your desired profit percentage or absolute value
  </Step>

  <Step title="Choose Exit Strategy">
    Select between partial or full position exit
  </Step>

  <Step title="Configure Execution">
    Set execution preferences like slippage tolerance and timing
  </Step>

  <Step title="Automatic Execution">
    LP Agent monitors and executes when conditions are met
  </Step>
</Steps>

### Configuration Options

<CardGroup cols={2}>
  <Card title="Profit Targets" icon="bullseye">
    Set multiple take-profit levels for staged exits
  </Card>

  <Card title="Exit Strategy" icon="door-open">
    Choose between partial or complete position withdrawal
  </Card>

  <Card title="Reinvestment Rules" icon="rotate">
    Configure automatic reinvestment of profits
  </Card>

  <Card title="Time Conditions" icon="clock">
    Add time-based conditions to your take-profit rules
  </Card>
</CardGroup>

## Stop Loss

Protect your capital with automated stop-loss triggers that help minimize potential losses.

### How Stop Loss Works

<Steps>
  <Step title="Set Loss Threshold">
    Define maximum acceptable loss percentage
  </Step>

  <Step title="Configure Protection">
    Set up protection parameters and triggers
  </Step>

  <Step title="Monitor Positions">
    Continuous real-time position monitoring
  </Step>

  <Step title="Automatic Execution">
    Swift execution when stop-loss conditions are met
  </Step>
</Steps>

### Protection Features

* Dynamic stop-loss adjustments based on market conditions
* Trailing stop-loss to lock in profits
* Slippage protection during execution
* Smart routing for optimal exit prices

## Advanced Settings

<AccordionGroup>
  <Accordion title="Price Feeds">
    Configure which price feeds to use for triggering take-profit and stop-loss orders:

    * Time-weighted average price (TWAP)
    * Oracle prices
    * DEX prices
  </Accordion>

  <Accordion title="Execution Parameters">
    Customize how your orders are executed:

    * Maximum slippage tolerance
    * Gas price limits
    * Execution timeouts
    * Partial fill settings
  </Accordion>

  <Accordion title="Notification Settings">
    Set up alerts for:

    * Approaching trigger levels
    * Order execution
    * Failed transactions
    * Position updates
  </Accordion>
</AccordionGroup>

<Note>
  All risk management settings can be adjusted through your dashboard at any
  time. We recommend regularly reviewing and adjusting these parameters based on
  market conditions.
</Note>

<Warning>
  While our risk management tools are designed to protect your positions, they
  cannot guarantee against all losses. Always invest responsibly and within your
  risk tolerance.
</Warning>

{" "}
