KLAYswap
English
English
  • Introduction
  • Protocol Overview
  • Core Concept
  • KLAYswap Advantages
  • Risk & Security
  • Privacy Policy
  • Audit
  • TOKENOMICS
    • KSP
      • KSP TOKENOMICS
      • Automation of KSP distribution rate
        • Voting policy on passing governance
        • KSP distribution ratio reflection policy
      • KSP Allocation
  • PRODUCT
    • SWAP
    • Single-side Deposit
      • Detailed policy of Single Deposit
    • Pair Deposit
    • V3 Pair Deposit
      • V2 to V3 Migration
        • V2 to V3 Migration Guide
        • V2 to V3 Migration Policy
      • V3 Pair Deposit
        • V3 Deposit Guide
        • V3 pair Deposit Policy
      • V3 to V3 Migration
        • V3 to V3 Migration Guide
        • V3 to V3 Migration Policy
      • V3 Pair Withdraw
        • V3 Withdraw Guide
        • V3 Withdraw Policy
    • Plus Deposit
      • Detailed policy of Plus Deposit
    • Long/Short Position Deposit
      • Open and Close Long/Short Positions
        • Open Short Positions
        • Open Long Positions
        • Remove Long Position
        • Remove Short Position
      • Position Deposit Details Policy
    • KSP Staking & Voting
      • Staking, Pool Voting Policy
    • Governance
      • Governance Voting Policy
    • Drops
    • Ecopot
    • Pool Airdrop
    • APR & APY
      • TVL
      • Pool
      • Staking
    • Interest rate
  • DEVELOPERS
    • Contract
      • Factory
      • Exchange
      • PoolVoting
      • VotingKSP
      • Treasury
      • Distribution
      • Governor
      • SinglePool
      • SinglePool Factory
      • PlusPool
      • PlusPool Factory
      • Store
      • Utils
      • Single/Plus Utils
      • Helper
      • EcoPotVoting
      • EcoPot
      • V3
        • V3Factory
        • V3Pool
        • NonfungiblePositionManager
        • NonfungibleTokenPositionDescriptor
        • V3SwapRouter
        • V3Migrator
        • V3Estimator
        • PositionMigrator
        • V3Treasury
        • V3AirdropOperator
        • UniversalRouter
    • Airdrop
      • Set Airdrop Operator
      • Start Airdrop
    • EcoPot
      • Set EcoPot
      • Start EcoPot
  • HOW-TO GUIDES
    • KLAYswap Guide
    • How to add liquidity on KLAYswap
    • [Burrito Wallet] How to deposit assets using mobile devices?
    • How to create a liquidity pool on KLAYswap
    • How to stake and vote on KLAYswap
    • How to deposit assets
      • Deposit Klaytn-based assets
      • Deposit Ethereum-based assets
      • Deposit XRP
    • FAQ
  • KLAYswap
  • Orbit Bridge
  • KLAYswap git
  • Orbit Bridge git
  • KLAYswap audit report
Powered by GitBook
On this page

Was this helpful?

  1. PRODUCT
  2. Long/Short Position Deposit
  3. Open and Close Long/Short Positions

Remove Short Position

PreviousRemove Long PositionNextPosition Deposit Details Policy

Last updated 2 years ago

Was this helpful?

Detailed procedures for Removing Short positions

The example above assumes that the KLAY 3x short position deposit user opened positions at 1 KLAY = 0.5 USDT, and after a year closed all positions at 1 KLAY = 0.2 USDT.

Following is the account status at the time a position is opened for the user.

1) Price of KLAY at opening: 1 KLAY = 0.5 USDT

2) Earn USDT single pool deposit interest on my asset 1,000 USDT (3.00% per year), Earn KSP reward

3) Earn USDT single pool deposit interest on position asset 2,911 USDT (3.00% per year), Earn KSP reward

4) KLAY Utilization cost for utilized asset 6,000 KLAY incurs (6.00% per year)

At the time of closing the position after 1 year, the account situation is as follows.

1) Price of KLAY at closing: 1 KLAY = 0.2 USDT

2) My Asset = 1,000 USDT *(1+0.03) = 1,030 USDT = $ 1,030.00

3) Secured Asset = 2,991 USDT*(1+0.03) = 3,080.73 USDT = $ 3,080.73

4) Utilized Asset = 6,000 KLAY*(1+0.07) *$0.2=1,284 USDT = $ 1,284.00

Step 1

  • When requesting position close, the secured asset USDT deposited in a single pool is first used to return the utilized asset KLAY.

  • To return the utilized 6,420 KLAY, 1,287.86359 USDT has to be swapped for KLAY from the KLAY/USDT pool.

[Reference] Calculation of the quantity of USDT (x) needed to return 6,420 KLAY

1 KLAY = 0.2 USDT, 0.3% swap fee will incur during swap

x = 6,420/(1-0.003)*0.2 = 1,287.86359 USDT

Step 2

  • Close the position by returning the 6,420 KLAY earned.

  • Partially returning the assets lets the user decide how many positions to close.

The following assets will be distributed to the user who has completed depositing short positions as described above.

1) My Asset 1,030 USDT (Deposit Intered + Earn 30 USDT)

2) Position Profit + 1,796.73 USDT (=$3,080.73- $1,284.00)

3) Additional KSP rewards from USDT and KLAY pool