Skip to content

Commit

Permalink
Merge pull request #167 from lolmcshizz/main
Browse files Browse the repository at this point in the history
Update how to trade docs including split trade
  • Loading branch information
degengami authored Sep 6, 2023
2 parents af69f69 + b7b8586 commit de14e25
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions docs/howto_trade.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ This page provides a **step-by-step guide** which will **help you execute your f
The HydraDX Omnipool is a next-gen AMM which unlocks unparalleled efficiencies, you can find out more in our [product documentation](/).

<div style={{textAlign: 'center'}}>
<img alt="metadata" src={useBaseUrl('/howto_trade/trade_screen.jpg')} />
<img alt="metadata" src={useBaseUrl('/howto_trade/trade_screen_st.jpg')} />
</div>

## 00 Transport tokens
If you would like to execute a trade using a non-native asset (e.g. DOT or DAI), you first need to get these assets to the HydraDX chain. This step does not apply to HDX.

There are two different mechanisms to transport non-native assets:
* [Cross-chain transfer](https://app.hydradx.io/#/cross-chain) - use this tool to transfer assets from other Polkadot parachains, or from Polkadot itself. Step-by-step documentation [here](howto_xcm);
* [Cross-chain transfer](https://app.hydradx.io/cross-chain) - use this tool to transfer assets from other Polkadot parachains, or from Polkadot itself. Step-by-step documentation [here](howto_xcm);
* [Ethereum bridge](https://www.portalbridge.com/#/transfer) - for bridging assets from the Ethereum ecosystem. Step-by-step documentation [here](/howto_bridge).

These solutions can also be used to transport tokens outside of the HydraDX network.

## 01 Enter Omnipool
[https://app.hydradx.io/#/trade](https://app.hydradx.io/#/trade)
[https://app.hydradx.io/#/trade](https://app.hydradx.io/trade)

## 02 Connect Your Account
Click on `Connect wallet` **(1 in image above)** and connect to your preferred Polkadot wallet. After that, select your account.
Expand All @@ -35,6 +35,13 @@ The HydraDX Trade UI allows you to intuitively execute a trade:
* Enter the amount of tokens for the trade **(3)**.
You can enter the amount of tokens you would like to pay with (e.g. 5000 DAI), but you can also enter the amount of tokens you would like to receive (e.g. 1000 HDX);
* If you would like to adjust your slippage preferences, you can do so in `Settings` **(4)**;
* To complete the trade, click on `Swap` **(5)** and sign the transaction using your wallet.
* To complete the trade with instant execution (pre-selected) **(5)**, click on `Swap` **(7)** and sign the transaction using your wallet. Otherwise, follow the additional steps below.

## 04 Execute a Split Trade
If your trade is large enough so that price impact would be > 0.15%, the UI will allow you to select `Split trade` **(6)** - breaking your trade into multiple smaller trades executed over < 3 hours and therefore reducing your price impact.

* Select the pair of tokens and amounts as in **03 Execute a Trade** above;
* Select `Split trade` **(6)**;
* To schedule your Split trade execution, click on `Place trades` **(7)** and sign the transaction using your wallet.

Stay hydrated, not liquidated.
Binary file removed static/howto_trade/trade_screen.jpg
Binary file not shown.
Binary file added static/howto_trade/trade_screen_st.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit de14e25

Please sign in to comment.