# Submitting an Order

{% embed url="<https://youtu.be/DUwgdDukc3Y>" %}

{% hint style="info" %}
Get more Tutorials like above on the [Dexible Youtube page](https://www.youtube.com/@dexible).
{% endhint %}

## Step #1: Launch the App

On [Dexible.com](https://dexible.com), click "**Launch App**" in the top right-hand corner or click "**Trade Smarter**" in the middle of the screen.

<figure><img src="https://1703316044-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOgWrubncz4DmRhGe8U%2Fuploads%2FoPJL0Gzcyf1SmlPAhyJZ%2FScreen%20Shot%202023-02-02%20at%207.33.59%20AM.png?alt=media&#x26;token=f2c78325-12eb-4761-a9aa-e19772c22e43" alt=""><figcaption></figcaption></figure>

## Step #2: Familiarize Yourself with the UI

When you enter the [Dexible app](https://app.dexible.io), you'll land on the Cockpit.

<figure><img src="https://1703316044-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOgWrubncz4DmRhGe8U%2Fuploads%2FdKFckpoTKY4s0LAAb53p%2FScreen%20Shot%202023-02-02%20at%207.36.21%20AM.png?alt=media&#x26;token=5e2df8b5-8211-4925-a9a1-b84d0bb59002" alt=""><figcaption><p>Dexible v1.5 Light Mode (updated as of 2023.02.01)</p></figcaption></figure>

* On the left, you'll see the **Order Form**.
  * At the top, you can choose an **Order Type**.
  * Underneath, you can select the assets to swap in the **token selector**.
  * Beneath the token selector and **spot price rate**, you can input the additional **order parameters**.
  * Underneath, you can expand **Customization** to have additional parameters to tweak.&#x20;
* On the right, you'll see the **Estimated Outcomes**.
  * At the top, you'll see the highlighted estimates.
  * Underneath, you'll see more detailed information on price impact, costs, and fills.
* Underneath the Estimated outcomes, you'll see the **Order Blotter**, which shows current and historical orders.&#x20;

## Step #3: Fill Out the Order Form

### 3a. Select the Order Type

Click on the button in the top to open the dropdown. You can learn more about [Dexible's Order Types here](https://dexible.gitbook.io/dexible/order-types/comparing-order-types).

{% content-ref url="../order-types" %}
[order-types](https://dexible.gitbook.io/dexible/order-types)
{% endcontent-ref %}

<figure><img src="https://1703316044-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOgWrubncz4DmRhGe8U%2Fuploads%2F6wD33010PM0abG1o6FWV%2FScreen%20Shot%202023-02-02%20at%209.31.26%20AM.png?alt=media&#x26;token=1cfa8e24-2d79-49f0-b000-a00a7df38567" alt=""><figcaption><p>All the order types expand.</p></figcaption></figure>

### 3b. Choose Input Tokens

Click the dropdowns next to "Select the input token" or "Select the output token" to expand the token selector. These show the default tokens per each of those chains.

<figure><img src="https://1703316044-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOgWrubncz4DmRhGe8U%2Fuploads%2FIXuJQxEeSvWzt8URt4B9%2FScreen%20Shot%202023-02-02%20at%209.33.58%20AM.png?alt=media&#x26;token=da5d9ce6-2d14-4f55-a782-b574410edfdc" alt=""><figcaption></figcaption></figure>

You can also copy and paste a token address (find them on Coingecko or Coinmarketcap for the appropriate chain) into the search bar.

<figure><img src="https://1703316044-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOgWrubncz4DmRhGe8U%2Fuploads%2F2WdNMrRSXU1bfFviKg5Q%2FScreen%20Shot%202023-02-02%20at%209.35.28%20AM.png?alt=media&#x26;token=a263228a-01be-4532-8671-e7d18348444f" alt=""><figcaption></figcaption></figure>

You can type in a full name of a token.

<div align="left"><figure><img src="https://1703316044-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOgWrubncz4DmRhGe8U%2Fuploads%2FQejJtTCYdwp2lHF9BjT4%2FScreen%20Shot%202023-02-02%20at%209.41.13%20AM.png?alt=media&#x26;token=0af08436-3553-46da-b0ad-fe06cf361128" alt=""><figcaption></figcaption></figure></div>

You can type in the token ticker shorthand.

<div align="left"><figure><img src="https://1703316044-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOgWrubncz4DmRhGe8U%2Fuploads%2FCIR4vOIPxDYU1TLfgUdF%2FScreen%20Shot%202023-02-02%20at%209.42.31%20AM.png?alt=media&#x26;token=94676ee1-8877-4779-8e4f-ab88e183132c" alt=""><figcaption></figcaption></figure></div>

### 3c. Fill out the Order Parameters

Each order type has more specific settings required for order submission.

<div align="left"><figure><img src="https://1703316044-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOgWrubncz4DmRhGe8U%2Fuploads%2FryfcJVcLI3y0JVp51b9w%2FScreen%20Shot%202023-02-02%20at%209.46.28%20AM.png?alt=media&#x26;token=6ae5dc51-c27a-48bc-b521-c644de9437ab" alt=""><figcaption></figcaption></figure></div>

## Step #4: Consider your Strategy

At this point, you'll now see Order Estimates populate on the right.

<figure><img src="https://1703316044-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOgWrubncz4DmRhGe8U%2Fuploads%2FMAIKxCPofk2KxXk4oUMU%2FScreen%20Shot%202023-02-02%20at%209.52.39%20AM.png?alt=media&#x26;token=d75825d7-46e8-460a-8adc-42204a2e465a" alt=""><figcaption></figcaption></figure>

You should review the prices of the tokens you're trying to swap on **Dexscreener**, **Trading View**, **Coingecko Terminal**, or some other price analysis tracker dashboard.

You should review the various Dexible use case on the page linked below.

{% content-ref url="use-cases" %}
[use-cases](https://dexible.gitbook.io/dexible/master/use-cases)
{% endcontent-ref %}

Conditionality can be applied for timing orders. Or you can think about making your liquidity more efficient when you swap.

## Step #5: Run Estimates and Optimize

Once aligned with the strategy and the inputs, you can optionally optimize the swap. The original estimates shown to you are based on recommended settings Dexible provides. Click **Customization** to open up additional settings.

<figure><img src="https://1703316044-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOgWrubncz4DmRhGe8U%2Fuploads%2FwC9xP9QhVUHVXcoZGChf%2FScreen%20Shot%202023-02-02%20at%209.56.46%20AM.png?alt=media&#x26;token=00b47b63-166c-490b-b0e4-df58673db5b4" alt=""><figcaption></figcaption></figure>

Inside of Customization, there are a few options related to the number of swaps, the gas strategy, order expiration, and order slippage.

<div align="left"><figure><img src="https://1703316044-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOgWrubncz4DmRhGe8U%2Fuploads%2FemgO0XMlFbg71buueIcK%2FScreen%20Shot%202023-02-02%20at%209.57.28%20AM.png?alt=media&#x26;token=5c03055e-98c2-42c1-b712-d99d002bd078" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}
Order Expiration is different from the TWAP Time Period. Order Expiration is a hard stop on the order, while a TWAP's Time Period will split up the input to swap within nearly equal time delays between each child order.
{% endhint %}

As you apply customizations, the Order Estimates will expand to compare the original Dexible recommended order to the customizations you'e applied.

<figure><img src="https://1703316044-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOgWrubncz4DmRhGe8U%2Fuploads%2FNLRjLWO4Ni4mbut504mq%2FScreen%20Shot%202023-02-02%20at%209.58.21%20AM.png?alt=media&#x26;token=94a7e747-f6b8-43fe-a776-61ac5224c704" alt=""><figcaption></figcaption></figure>

Dexible will auto-select the number of rounds and default settings for the other policies:

* Default Gas Strategy: Relative (aka uncapped fast gas txn)
* Default Expiration: GTC (aka go-til-closed)
* Default Slippage: 0.5%

You have the option of submitting a "Recommended" or "Custom" Order. Custom Orders mean you've changed some of the automatic order parameters Dexible provided with your values for a number of swaps, gas strategy, slippage, or expiration.

## Step #6: Connect Wallet

Sign your wallet signature request and you will be automatically redirected to the Dexible App.

<figure><img src="https://1703316044-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOgWrubncz4DmRhGe8U%2Fuploads%2F71D9xdSgHNg6KTvu4msV%2FScreen%20Shot%202023-02-02%20at%2011.45.52%20AM.png?alt=media&#x26;token=85eaf757-8126-4c4e-95d2-bdf374147bcc" alt=""><figcaption></figcaption></figure>

Choose any of the wallet options to connect.

## Step #7: Submit the Order

### **Approve Token Spend Allowance**

For each token on each network, you'll need to approve a spend allowance. This helps protect traders from getting exploited by a rogue platform, but the onus falls on the trader to make sure they manage their approvals.

Enter an input amount first.  You will need a balance in your account for all the input to approve it.

When you have the tokens, you can go through the approval. It brings up this spend allowance modal.

![](https://1703316044-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOgWrubncz4DmRhGe8U%2Fuploads%2FRlZwmKUoOMCDeopCsum1%2Fimage.png?alt=media\&token=29d738fc-3820-46e5-b907-413b8801438d)

We recommend **Indefinite trades**: the difference is "One Trade" approves a specific amount in this txn (aka 300 UNI) vs "Indefinite Trades" which lets you make any number of trades with UNI input interacting with the Dexible contracts.

For clarification, the one trade comprises the whole parent order meaning all the input. This is important to understand since Dexible breaks up the order into different rounds.&#x20;

If you choose indefinite trades, you'll never need to approve more tokens again, which may be more cost-effective. Some folks prefer, for operational security sake, to only approve their stated input.

With either choice, you'll need to approve a transaction from your wallet.

### Submit the Order

Review all the breakdowns listed here. Then, when ready, click "Confirm Order."

<figure><img src="https://1703316044-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOgWrubncz4DmRhGe8U%2Fuploads%2FjjKOhyYAP5RLrfQgPGmc%2FScreen%20Shot%202023-02-02%20at%2011.59.32%20AM.png?alt=media&#x26;token=c2956ca0-f9a4-4ac1-94ac-caaf112579db" alt=""><figcaption></figcaption></figure>

We also encourage you to read and accept the [Terms of Service](https://dexible.io/tos.pdf) and [Privacy Policies](https://dexible.io/private_policy.pdf).


---

# 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://dexible.gitbook.io/dexible/master/submitting-an-order.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.
