# What is Dexorder?

<iframe width="560" height="315" src="https://www.youtube.com/embed/IFaU4dQy5BE?si=4uuS8uUADrK2AzcV" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

Dexorder is an on-chain system providing advanced order management for DeFi traders. Dexorder is noncustodial and runs on the [Arbitrum One](https://arbitrum.io/) network (more L2's coming soon).

* Limit Orders
* DCA / TWAP
* Diagonal Limit Lines
* Stop-loss & Take-profit
* Breakout Orders
* One-Click Cancel All

See more [Features](/features).


<img src="/how-it-works.png" alt="How It Works" class="img-fluid">

## Personal Trading Vault

Dexorder is not an exchange. Dexorder never has custody of your funds and never participates as a counterparty in your trade.

Instead, Dexorder provides you with your own personal trading vault smart contract, which can hold orders as well as tokens. When your order conditions are met and the vault is activated with gas, your vault swaps directly with your favorite DeFi pools.

## Funds are Never Locked

Your trading vault can only trade the tokens that you deposit into it. This means there is no separate "approval" transaction. Rather, depositing coins into your vault makes them available to trade.

Tokens deposited into your vault may always be withdrawn at any time by only you. Funds are _never_ locked by the vault. If active orders in the vault need funds that you withdrew, those orders are simply unable to trade, and the orders will stay open without being able to execute. If you put tokens back into your vault, the orders will automatically resume and trade the newly deposited funds.

## Prepaid Gas

Orders like Limit Orders and DCA Orders may not execute right away but wait until certain time or price conditions are met.

Dexorder charges an up-front gas fee, and then when the market conditions for your order are met, Dexorder supplies your vault with gas and asks it to execute the swap. Your trading vault checks the order first, and if everything is ok, it swaps directly with the DeFi pool.

Dexorder does not participate in the swap and cannot touch the tokens or orders in your vault. Dexorder provides an order-triggering service that supplies gas to your trading vault at the correct times according to market conditions. If Dexorder tries to trigger an order at the wrong time, your smart vault will check the order and reject the attempt.

Once you place an order, Dexorder will provide the gas for all future swaps your order may need, in accordance with our [Execution Policy](/execution-policy).

See [Gas Fees](/fees#gas-fees) for more.


## Web Interface

Creating dexorders couldn't be easier, using the charts you know and love by [TradingView](https://tradingview.com/). What you see on the chart is the order you get on-chain.

When you place orders from the website, your wallet signs your order, putting it into your trading vault on-chain. Similarly, actions like Cancel or Cancel All are also signed by your web wallet and sent directly to the blockchain. Dexorder's servers are not involved with any of these interactions, which are made directly from your web wallet to your on-chain vault.


## API

See our [smart contracts](https://github.com/dexorder-trade/contract) for interacting directly with Dexorder vaults on-chain.
