# Perpetual trading

### What is perpetual trading?

Perpetual swaps are a special type of futures contract with no expiration date. \
Perpetual contracts are derivatives for trading an underlying asset without an expiration date.

Futures trading allows users to open positions on margin (leverage), using borrowed funds to optimize capital. \
Using leverage allows the user to enter a position larger than his account balance. \
That is, trading on margin, you can deposit part of the notional amount using your capital. \
For example, a user can take 10x leverage and exchange 10 ETH at the price of 1 ETH. \
In this example, the initial margin will be 1 ETH, which is used to secure a position with leverage.

In addition to leverage, futures open up the possibility of trading in both directions, buying (long) and selling (short) perpetual contracts, which is crucial in the current market volatility.

Perpetual contracts have no expiration date and allow the holder to have the price movement of the underlying asset without owning it. \
Simply put, users use borrowed funds to place bets on the future price of an asset.

{% embed url="<https://futures.mainfarm.io/en/futures/BTCUSDT>" %}

{% hint style="warning" %}
*<mark style="color:orange;">**Every user should understand and accept all the risks associated with futures trading.**</mark>* \
*<mark style="color:orange;">**We recommend that you thoroughly study and understand what futures are before making any transactions.**</mark>*
{% endhint %}

### Partnership with<img src="/files/38DpieN7nZmuafwYWTp4" alt="" data-size="line"><mark style="color:purple;">ApolloX</mark>

The perpetual trading function in our project was developed in cooperation with ApolloX Finance.\
The platform offers high liquidity and a narrow spread on a wide range of futures contracts.\
\
The trading infrastructure is designed with offline order book matching and in-chain calculations, which allows you to use important trading functions, such as various types of orders (for example, limit order, stop limit, publication only), while maintaining confidentiality and security.\
\
Intermediaries for interaction with smart contracts are completely absent. \
KYC is not required.

#### Links to ApolloX documents for guides and additional information on how to use perpetual trading:

[<mark style="color:purple;">**Fundamentals of Futures**</mark>](https://apollox.zendesk.com/hc/en-us/sections/4404483852953-Futures-Basics)

[<mark style="color:purple;">**Perpetual Trading: A Beginner's Guide**</mark>](https://apollox.zendesk.com/hc/en-us/sections/4404465220505-Beginner-Guide)

[<mark style="color:purple;">**Futures Trading: Advanced level**</mark>](https://apollox.zendesk.com/hc/en-us/sections/4404852048793-Advanced)

[<mark style="color:purple;">**Requirements of the Futures Market Maker program**</mark>](https://apollox.zendesk.com/hc/en-us/articles/4421117603737-ApolloX-Market-Making-Program-Requirements)<br>

{% hint style="warning" %}
*<mark style="color:orange;">**An indefinite futures contract is a type of derivatives, and trading derivatives involves a lot of risk.**</mark>* \
*<mark style="color:orange;">**You must fully understand the risks involved and be responsible for any forced liquidation of assets or losses.**</mark>*
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mainfarm.io/products/perpetual-trading.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
