Guides

Managing Your Account

How to monitor your health score, use multiple accounts, and swap collateral or debt on Project 0.

Once you have active positions on P0, managing your account effectively is the difference between capturing yield and getting liquidated. This guide covers how to read your health score, when to use multiple accounts, and how to adjust your positions mid-trade using collateral and debt swaps.

Health Score

Your health score represents how close your account is to liquidation. P0 displays it on the portfolio page at app.0.xyz.

  • Positive health means your weighted collateral exceeds your weighted debt. You are safe.
  • Health at zero means you are at the boundary. Any price movement against you could trigger liquidation.
  • Negative health means your account can be liquidated. A third-party liquidator can seize some of your collateral to repay your debt.

Health is calculated using Maintenance weights, which are more generous than the Initial weights used when you first borrow. This creates a buffer: you can borrow up to the Initial limit, and you are only liquidated once you breach the Maintenance limit. The gap between these two is your safety margin.

What Moves Your Health

EventEffect on health
Collateral price increasesHealth increases
Collateral price decreasesHealth decreases
Debt price increasesHealth decreases
Interest accruing on debtHealth decreases (slowly)
Depositing more collateralHealth increases
Repaying debtHealth increases
Adding a non-Emode borrowCan drop health significantly (Emode benefit lost)

Staying Safe

  • Do not borrow to your maximum capacity. Leave a buffer for normal price fluctuations.
  • Monitor your health when markets are volatile. The portfolio page shows your health in real time.
  • If health is declining, deposit more collateral or repay some debt before it reaches zero.
  • Be aware of Emode effects. Adding a borrow that does not have an Emode pairing with your collateral can cause a sudden health drop.

For the technical details on how health is calculated (weights, confidence intervals, the math), see Risk Engine.

Using Multiple Accounts

You can create as many Accounts as you want on P0. Each Account has its own positions (up to 16), its own health score, and its own Emode configuration. Accounts are completely independent of each other.

When depositing or looping, you can toggle "Create New Account" in the action box to automatically create a new account and open your position there. This is the easiest way to isolate a new position without manually creating an account first.

When to Use Separate Accounts

Preserving Emode benefits. If you want to lend SOL and borrow an LST (Emode active) while also lending USDC and borrowing USDT (Emode active), put them on separate accounts. If both are on the same account, one pairing can degrade the other. See the Emode guide for worked examples.

Borrowing an asset you are already lending. You cannot have both a deposit and a borrow on the same Bank within a single Account. If you are lending USDC on one Bank and want to borrow USDC from a different Bank (e.g., to loop or arbitrage), you need a second Account.

Isolating risk. If you are running a high-leverage strategy alongside a conservative yield position, separating them means a liquidation on the aggressive account does not affect the conservative one.

Running multiple strategies. The Strategies feature on app.0.xyz handles this automatically by creating isolated accounts when strategies would conflict, but you can also manage accounts manually.

Collateral Repay

Collateral repay lets you repay a loan using collateral you have already deposited, without needing external funds. P0 withdraws some of your collateral, swaps it into the debt asset, and repays the loan in a single transaction.

When to Use Collateral Repay

  • No liquid funds. If you do not have the borrowed asset in your wallet but want to reduce debt, repay directly from your collateral.
  • Partial or full unwind. Reduce both your collateral and debt simultaneously. This is the building block for unwinding looped positions.
  • Deleveraging. Decrease your leverage ratio without needing to source the debt asset externally.

On app.0.xyz, collateral repay is available from the borrow action box. When selecting a token to repay, your existing collateral assets appear under "Collateral Repay." Select the collateral you want to use and confirm. The app handles the withdrawal, swap, and repayment atomically.

Collateral repay incurs standard swap fees and slippage. The preview shows the expected output before you confirm.

Collateral Swap

Collateral swap lets you exchange one collateral asset for another without withdrawing, swapping externally, and re-depositing. Your position stays open and your debt is unaffected.

When to Use Collateral Swap

  • Chasing higher yield. If an LST you are lending has lower yield than another, swap your collateral to the better-yielding LST in one transaction.
  • Better leverage parameters. Some assets have higher asset weights or more favorable Emode pairings. Swap into them to improve your health or increase borrowing power.
  • Rebalancing. Shift your collateral mix as market conditions change without unwinding your debt position.

On app.0.xyz, collateral swap is available from the portfolio page. Select the collateral position you want to change, choose the target asset, and confirm. The app handles the underlying swap and re-deposit atomically.

Collateral swap incurs standard swap fees and slippage (typically around 5 bps). The preview shows the expected output before you confirm.

Debt Swap

Debt swap lets you exchange your borrowed asset for a different one. Your collateral stays the same; only the debt side changes.

When to Use Debt Swap

  • Lowering your borrow cost. If you are borrowing a stablecoin at 5% and another stablecoin is available at 3%, swap your debt to immediately reduce your interest expense.
  • Adjusting exposure. If you are short an asset through a borrow and want to change which asset you are short, swap the debt directly.
  • Preserving or gaining Emode. Swap from a non-Emode debt to one that has an Emode pairing with your collateral, instantly improving your health and borrowing power.

On app.0.xyz, debt swap is available from the portfolio page. Select the debt position you want to change, choose the target borrow asset, and confirm.

Debt swap incurs standard swap fees and slippage. The app repays your current debt and opens a new borrow in the target asset atomically.

Putting It Together

A typical workflow for an active P0 user might look like:

  1. Account 1: Deposit SOL, borrow jitoSOL (Emode active, high LTV). Run a SOL/LST loop via Strategies.
  2. Account 2: Deposit USDC on Kamino, borrow USDT on P0. Use debt swap to rotate between USDT and USDC depending on which has the lower borrow rate.
  3. Account 3: Deposit various assets as general collateral, borrow SOL for spending. Use collateral swap to shift into whichever asset has the best yield without disrupting the borrow.

Each account has its own health, its own Emode configuration, and can be managed independently.

On this page