# Trade

### **AMM Trading**

*<mark style="color:orange;">**Seamless Trading with Dynamic AMM**</mark>*

<figure><img src="https://3573059752-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4UplvySJyBUUReFOWp79%2Fuploads%2FFoLAZPsLYQA8wpiXM1E8%2FSwab%20(11).png?alt=media&#x26;token=31b32f44-6328-4a6d-b991-426f3a633535" alt=""><figcaption><p>AMM Exchange and Transaction information- User friendly and intuitive </p></figcaption></figure>

OrangeDX's **Automated Market Maker (AMM)** swap engine employs an advanced <mark style="color:orange;">**Constant Function Market Maker (CFMM)**</mark> algorithm, which utilizes a dynamic adjustment mechanism for liquidity pools guided by a predetermined price curve. This algorithm is designed to maintain efficient asset swaps, minimizing price slippage across transactions. The core functionality is based on the formula *x . y = k*, where *x and y* denote the reserves of two different assets in a liquidity pool, and *k* represents a constant value that ensures the pool's total liquidity remains stable over transactions.

Enhancements to this basic <mark style="color:orange;">**CFMM**</mark> model include adjustments to the liquidity pool's parameters (such as *x and y)* in real-time, according to a predefined function that dictates how the price of assets changes with respect to their supply and demand within the pool. This optimized algorithm allows for **improved handling of trades** involving smaller or less-traded BRC-20 tokens by automatically recalibrating the pool's assets to align with the specified price curve, thereby ensuring the liquidity pool's efficiency and reducing the impact of trade size on market price.\
\
This innovative trading module is further enhanced by the integration of real-time charts directly into the user interface, significantly elevating the user experience. This design choice not only simplifies the trading process but also empowers users with **immediate access** to **crucial market data** and **trends**. By providing these analytical tools alongside the AMM swap system, OrangeDX ensures that users can make informed trading decisions within a **seamless**, **intuitive platform**, thereby setting a new standard for convenience and functionality in the digital asset trading landscape.

### **OrangeDX Perpetuals Trading**

*<mark style="color:orange;">**Fuel Your Trades, Pool Your Reward**</mark>*

<figure><img src="https://3573059752-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4UplvySJyBUUReFOWp79%2Fuploads%2F4OdLwFVQqNLGqhzkM6hm%2FFrame%206%20(1).jpg?alt=media&#x26;token=2dd761fb-6656-4e41-81bf-b125c77a8456" alt=""><figcaption><p>Perpetual Trading - Balance Leverage with Liquidity</p></figcaption></figure>

<mark style="color:orange;">**Perpetual trading**</mark> platform allow users to add liquidity to a single-sided pool, such as an <mark style="color:orange;">O4DX</mark> pool, through on-chain transactions, using their contributions as collateral for perpetual trading against major assets like Bitcoin or Ethereum. This system enables users to **execute multiple trades without transaction gas fees**, similar to centralized exchange (CEX) trading, with gas fees applied only upon withdrawal from the liquidity pool. Trades are made against the pool, and profits from successful trades are received in <mark style="color:orange;">O4DX</mark> tokens, with the option for users to set up stop losses to mitigate risks or face potential liquidation.

The pool's operation is governed by an algorithm designed to balance traders' leverage with the available liquidity, ensuring that the leverage does not exceed what the pool can sustainably support. Liquidity providers benefit by contributing to the pool, earning rewards from trading fees and the losses traders incur to the pool. This structure creates a **dynamic ecosystem** where participants can t**rade major assets** efficiently while **managing risk** and providing an opportunity for liquidity providers to **earn from their contributions.**

### **Dex Aggregator**

*<mark style="color:orange;">**Where DeFi Trading is Simplified**</mark>*

<figure><img src="https://3573059752-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4UplvySJyBUUReFOWp79%2Fuploads%2FGjKkfj8rLBgzpN4hB3Q7%2Fdex%20aggregator.PNG?alt=media&#x26;token=9e732d10-3f19-4f38-90e7-a6dce0fac65e" alt=""><figcaption></figcaption></figure>

OrangeDX revolutionizes BRC-20 trading with its advanced **DEX aggregator**, simplifying the DeFi experience by eliminating the need to jump between exchanges. This powerful tool unifies liquidity from top BRC-20 platforms into one easy-to-use interface, ensuring you find the best prices with its intelligent market-scanning algorithm.&#x20;

It provides **transparent fee breakdowns** and **clear execution paths** for informed trading decisions. By **saving time** and **reducing effort** in manual searching, OrangeDX allows traders to focus more on strategy and less on logistics. In essence, the aggregator is more than just a tool; it's a significant shift in how traders interact with the DeFi space, offering smarter, faster, and more efficient trading.

<figure><img src="https://3573059752-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4UplvySJyBUUReFOWp79%2Fuploads%2FSTDIhGcriLCodPt4HlTR%2FAggregator%201.PNG?alt=media&#x26;token=84a9e295-ddfb-436c-81d9-72ea8d6160e1" alt=""><figcaption><p>O4DX Dex Aggregator </p></figcaption></figure>

### **Marketplace/Aggregator**

*<mark style="color:orange;">**Market aggregator - all in one place**</mark>*\
\
OrangeDX's BRC20 Marketplace lists native chain BRC20 projects, allowing users to buy and sell on the Bitcoin native chain. This enables **peer-to-peer trading** and grants users **access to rare BRC20 tokens**. The Market place will be complemented with a marketplace aggregator which would aggregate the major BRC20 tokens listed on various platforms.

As a marketplace and all-inclusive site for interacting with new initiatives, OrangeDX provides a dynamic entry point into the BRC-20 DeFi ecosystem. It distinguishes itself by providing a handpicked collection of BRC-20 projects that have been thoroughly evaluated for their stability and development prospects. An innovative routing system guarantees the best bargains across various exchanges, enabling confidence trading on the platform.

### **Markets**

*<mark style="color:orange;">**One Platform - Infinite Insights**</mark>*

The markets section offers a powerful solution for navigating the overwhelming flow of DeFi data. This platform brings together **real-time data** from the BRC-20 ecosystem into a **single, coherent view**, eliminating the need for multiple tabs and scattered information. It provides consolidated intelligence, enabling users to track prices, volumes, liquidity, and other key metrics across various BRC-20 exchanges and protocols in one place.&#x20;

With advanced visualization tools and analytics, it reveals **market trends**, **uncovers opportunities**, and **supports informed trading strategies**. Users can customize their dashboards to focus on vital investment data and stay updated with real-time alerts on price shifts and market events. \ <br>

<figure><img src="https://3573059752-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4UplvySJyBUUReFOWp79%2Fuploads%2FzChxD2W6LwLJZW0fqI8q%2Fimage.png?alt=media&#x26;token=5f7c49f1-0f44-4237-8f97-7b5c39cb0f4c" alt=""><figcaption><p>BRC 20 Pools</p></figcaption></figure>
