Copy of Notional V2
  • About Notional
  • Product Guides
    • Fixed Rate Lending
    • Providing Liquidity
    • Leveraged Vaults
    • Fixed Rate Borrowing
  • FAQs
  • Risk Framework
  • Developer Docs
  • šŸ’øfCash
    • What is fCash
    • Using fCash
    • fCash Maturity
  • šŸ’¹Trading fCash
    • Transaction Fees
    • Exiting Early
    • Interest Rate Risk
  • šŸ’°Borrower Resources
    • Loan to Value (LTV)
      • Local-Currency Risk Factors
      • Single-Currency Portfolios
    • Health Factor
    • Liquidation
  • 🚰Liquidity Pools
    • What are Liquidity Pools
    • Liquidity Pool Mechanics
    • Liquidity Pool Examples
      • Providing Liquidity
      • Lending
      • Borrowing
  • šŸŖ™nTokens
    • What are nTokens
    • nToken Mechanics
      • nToken Portfolio
      • Minting nTokens
      • Redeeming nTokens
    • nToken Returns
    • nToken Risks
  • ⚔Leveraged Vaults
    • What are Leveraged Vaults
    • Entering and Exiting a Vault
    • Liquidation
    • Settlement
    • Vault Returns
    • Vault Risks
    • Vault FAQs
  • āš–ļøGovernance
    • NOTE
    • NOTE Staking
Powered by GitBook
On this page
  • fCash interest accrual
  • Early exit example
  • Impact of fees
  1. Trading fCash

Exiting Early

When you lend at a fixed rate with fCash, you know exactly how much interest you will receive at maturity. But what happens if you exit early? How much interest will you get if you sell your fCash before it matures?

To understand what you will get if you exit early, you need to understand how fCash accrues interest.

fCash interest accrual

As you approach maturity, the fCash/cash exchange rate approaches 1. This means that as time goes on, fCash increases in value. Here is how to determine the cash value of fCash given a fCashAmount, an interestRate, and a timeToMaturity.

cash=fCashAmount/einterestRateāˆ—timeToMaturitycash = fCashAmount/ e^{interestRate * timeToMaturity}cash=fCashAmount/einterestRateāˆ—timeToMaturity

For example, with interest rates at 5%, 100 fCash is worth more if the time to maturity is six months than if the time to maturity is one year:

// 100 fCash value at one year to maturity with 5% interest rate

cash = 100 / e^(.05 * 1) = 95.12

// 100 fCash value at six months to maturity with 5% interest rate

cash = 100 / e^(.05 * .5) = 97.53

In this example, 100 fCash is worth 2.41 more cash after six months. This extra value is the interest that the fCash has accrued over the six month period.

Early exit example

Let's look at an example that includes transaction cost where a user lends 100 USDC at 5% for one year and then exits after six months with the interest rate unchanged at 5%.

// Lending 100 USDC at 5% for one year with 0.3% transaction fee

fCash = 100 * e^(.047 * 1) = 104.81 fCash

// Selling 104.81 fCash after six months at 5% and 0.3% fee

cash = 104.81 / e^(.053 * 0.5) = 102.07

In this example, the user has earned 2.07 cash after six months accounting for fees.

Impact of fees

Users who exit early can lose money if they don't hold their position long enough to cover their transaction cost. For example, here is what would happen if a user lent 100 USDC for 1 year and then immediately exited on the same day.

// Lending 100 USDC at 5% for one year with 0.3% transaction fee

fCash = 100 * e^(.047 * 1) = 104.81 fCash

// Selling 104.81 fCash immediately with interest rate at 5% and 0.3% fee

cash = 104.81 / e^(.053 * 1) = 99.40

In this example, the user lost 0.6 cash because they paid transaction fees on entry and exit without accruing any interest.

PreviousTransaction FeesNextInterest Rate Risk
šŸ’¹