AGDEX Documentation
  • 👋Welcome to AGDEX
  • Overview
    • 🌟What is AGDEX
    • 💡Our Highlight Features
  • FOR TRADERS
    • Start Trading
      • Oracles
      • Open/Close Postion
      • Open a Limit Order
      • Swap
      • Fees & Pricing
      • Assets/Pairs
  • FOR LPS
    • Provide Liquidity
      • AGLP (Liquidity Token)
      • How to buy/sell AGLP
      • Risk
  • REBATE
    • Rebate Mechanism
  • PRODUCT MECHANISM
    • Funding Rate
    • Synthetic Architecture
    • ❓FAQ
    • 🚀Roadmap
    • 📝Smart Contract Address
    • 🤝Community & Collaboration
    • ⚖️Terms and Conditions
  • 🛡️Aduit
Powered by GitBook
On this page
  • Open Position
  • Managing Positions
  • Minimum Holding Time
  • Closing a Position
  • Liquidation
  1. FOR TRADERS
  2. Start Trading

Open/Close Postion

PreviousOraclesNextOpen a Limit Order

Last updated 17 days ago

Open Position

Click on "Long" or "Short" depending on which side you would like to open a leverage position on.

  • Long position

    • Earn a profit if the token's price goes up

    • Take a loss if the token's price goes down

  • Short position

    • Earn a profit if the token's price goes down

    • Take a loss if the token's price goes up

After selecting your side, you can use any index token available in the dropdown menu as collateral , you will be able to see how much your collateral is worth in USD. Once you input your collateral and choose your leverage level, the quantity of the underlying asset will be calculated automatically.

In the below example 5 APT worth $27.269 USD is being used to buy a 1x APT long position of size $27.269 USD.

The "Entry Price" is $93,811.

The trading fee to open a position is 0.1% of the position size, similarly there is a 0.1% fee when closing the position.

There is also a 'Reserving Fee Rate' that is deducted at the start of every 8 hour. This is the fee paid to the AGLP based on the the amount of reserve you choose. The resevering fee every hour will vary based on utilization, it is calculated as (assets borrowed) / (total assets in pool) * 0.01%.

Managing Positions

After opening a trade, you would be able to view it under your Positions list. You can also click on "TP" or "SL" to deposit or withdraw collateral, which allows you to manage your leverage and liquidation price.

Leverage for a position is displayed as (position size + PnL- Fees) / (position collateral)

Minimum Holding Time

The setting of the minimum holding time is to prevent malicious arbitrage. The current minimum holding time is 15 seconds.

Closing a Position

You can close a position partially or completely by clicking on the 'Close' button.

Profits are paid in the asset you paid as collateral

Liquidation

While there are no price impacts for trades, there can be slippage due to price movements between when your trade transaction is submitted and when it is confirmed on the blockchain. Slippage is the difference between the expected price of the trade and the execution price, this can be customised by clicking on the "" icon at the top right of the page.