Position Management

Learn how to effectively manage your positions as a manager, including opening, monitoring, rebalancing, and closing positions in Flux Protocol.

Overview

As a manager in Flux, you borrow capital from vaults to execute trading strategies. Effective position management is critical to:

  • Maintain healthy collateralization ratios

  • Avoid liquidation

  • Maximize returns

  • Manage risk


Opening a Position

1. Choose a Vault

Select a vault that matches your strategy:

// Evaluate vault parameters
IFluxVault vault = IFluxVault(vaultAddress);
IStrategy strategy = vault.STRATEGY();

// Check interest rate
uint256 interestRate = strategy.interestRate();

// Check allowed assets
IAsset[] memory allowedAssets = strategy.getAllowedAssets();

// Check bond requirements
uint256 minBondRatio = strategy.minBondRatio();

2. Calculate Required Bond

3. Execute Borrow

4. Deploy Capital

Use borrowed capital to execute your strategy:


Position Monitoring

Track Your Position

Key Metrics

  1. Health Ratio

    • 1.5: Very healthy

    • 1.2 - 1.5: Healthy

    • 1.1 - 1.2: Warning zone

    • < 1.1: Liquidation risk

  2. Debt Growth

    • Monitor how fast debt grows

    • Interest accrues continuously

    • Pay down debt to reduce growth

  3. Position Value

    • Fluctuates with market prices

    • Includes unrealized P&L

    • Oracle-based valuation


Rebalancing Strategies

When to Rebalance

  1. Health ratio approaching threshold

  2. Market conditions change

  3. Better opportunities available

  4. Debt growing too fast

Rebalancing Actions

1. Add More Collateral

Increase position value without borrowing more:

2. Repay Debt

Reduce debt to improve health ratio:

3. Rotate Assets

Swap from declining to appreciating assets:

4. Reduce Exposure

Take profits and reduce position size:


Automated Position Management

Health Monitoring Bot

Auto-Compound Profits


Closing Positions

Full Position Close

Partial Close


Position Strategies

Strategy 1: Delta Neutral

Maintain market-neutral exposure:

Strategy 2: Yield Farming

Leverage LP positions:

Strategy 3: Arbitrage

Execute arbitrage opportunities:


Risk Management

Position Sizing

Stop-Loss

Diversification


Last updated