Comment on page
Mirakle is a decentralized exchange allowing trading without the need for a username or password. The platform uses an aggregate price feed which reduces the risk of liquidations from temporary wicks.
If you see a message to switch network, click on it to add the Fuse network to your wallet.
Currently, Mirakle is on Mainnet Fuse. You will need to have Fuse in your wallet to start trading.
Mirakle supports both Swaps and Leverage Trading. To use the Swaps feature:
- 1.Click on the "Swap" tab on the right bar at https://app.mirakle.io/#/trade. This action will open the interface for swapping tokens without any price impact.
- 2.Choose your desired swap pair.
- 3.Approve your transaction.
For leverage trading, please see the below sections for more information.
- 1.Choose Your Position:
Simply click on "Long" or "Short" to select.
- Long: Profit if the token price rises, but a loss if it decreases.
- Short: Profit if the token price decreases, but a loss if it rises.
- 2.Order Types:
- Market: Executes immediately at the current price.
- Limit: Set your desired price for execution.
- Trigger: Executes when specific conditions are met.
- 3.Placing the Order:
- Input the amount you wish to invest and the leverage level.
- For example, in the displayed trade, an investment of 0.1 ETH worth of 167.53 USD is leveraging a 5x position in Ethereum (ETH) worth 833.52 USD.
- The trade starts at an Entry Price of $1675.38. If the price falls to $1357.05, the position gets liquidated.
- Beneath the main trading area, there's an "Exit Price." It's the current rate at which you'd close the trade. Remember, this can fluctuate based on market dynamics.
- Opening and closing a trade costs 0.1% each.
- An hourly "Borrow Fee" is charged. It's what you pay to the party on the other side of your trade. It's computed as: (assets borrowed) divided by (total assets in pool) times 0.01%. You can see this fee right below the main trading area.
- 5.Note on Slippage:
- While there's no direct price impact, prices might shift slightly while your trade is being confirmed on the blockchain, known as slippage. You can set your preferred slippage tolerance by clicking on the "..." icon at the top right.
- 1.Accessing Your Trades:
- After setting up a trade, you can view it in your "Positions" section.
- You can hit the "Edit" button to add or remove collateral, adjusting your leverage and the liquidation price accordingly.
- 2.Collateral Price Snapshot:
- When you provide or adjust collateral, the USD value is set and won't change even if market prices fluctuate.
- For example, if you provide collateral of 0.1 ETH when ETH is valued at $1,675.38, your collateral is fixed at $167.53, no matter how ETH's market value changes later.
- 3.Profit and Loss Dynamics:
- Your profits or losses correspond to the size of your position. If you use $167.53 to take a position in ETH worth $833.52 and ETH's price rises by 10%, you'd gain $83.35. But if it drops by 10%, you'd lose $83.35.
- For short trades, it's reversed. If WETH drops 10%, you'd gain $83.35, but if it climbs 10%, you'd be down by $83.35.
- 4.Understanding Leverage Display:
- Typically, leverage is displayed as: (size of the position) divided by (your collateral).
- If you prefer, you can change the display to: (position size plus profit/loss) divided by (your collateral). You can make this adjustment by selecting the "..." icon near your profile address.
- 5.Fee Pointers:
- Adding collateral to a long trade carries a 0.3% fee. This fee covers the conversion from another asset (like ETH) into its USD equivalent. It's in place to avoid misuse of the deposit function.
- Short trades are exempt from this fee. And when you draw out collateral, from either long or short positions, you won't incur this fee.
You can close a position partially or completely by clicking on the "Close" button.
For long positions, profits are paid in the asset you are longing, e.g. if you long ETH you would get your profits as ETH.
For short positions, profits will be paid out in the same stablecoin that you used to open the position, e.g. USDC or USDT.
You can also set stop-loss and take-profit orders by clicking on the "Close" button and selecting the "Trigger" tab.
After creating a trigger order, it will appear in your position's row as well as under the "Orders" tab, you can edit it the order and change the trigger price if needed.
If you close a position manually, the associated trigger orders will remain open, you would need to cancel them manually if you do not want the order to be active when opening future positions.
Note that orders are not guaranteed to execute, this can occur in a few situations including but not exclusive to:
- The mark price which is an aggregate of exchange prices did not reach the specified price
- The specified price was reached but not long enough for it to be executed
- No keeper picked up the order for execution
Additionally, trigger orders are market orders and are not guaranteed to execute at the trigger price.
Think of it this way: You've put down $167.53 as a kind of "safety deposit" for your trade. Now, there's a certain price (we call this the "Liquidation Price") where if things go south, your trade could be automatically stopped to protect most of your deposit.
This price isn't fixed. Why? Because there are borrowing costs, and if you're trying to make bigger moves with higher risks (like using leverage more than 10x) and keep it for several days, this price can change.
It's a good idea to keep an eye on this Liquidation Price. If the trade is stopped, any remaining bit of your $167.53, after taking out losses and fees, comes back to you.
There is no price impact for trades on Mirakle, so you can execute large trades exactly at the mark price. During times of high volatility there will be a spread from the Chainlink price to the median price of reference exchanges.
The mark prices are displayed next to the market name, long positions will be opened at the higher price and closed at the lower price while short positions will be opened at the lower price and closed at the higher price.
The chart will indicate the average of the two mark prices.
The cost to open / close a position is 0.1% of the position size.
The collateral of long positions is the token being longed, for ETH longs the collateral is ETH and for BTC longs the collateral is WBTC, etc. The collateral of shorts positions is any of the supported stablecoins e.g. USDC, USDT, DAI, FRAX. If a swap is needed when opening or closing a position then the regular swap fee would apply, this fee is 0.2% to 0.8% of the collateral size, the exact fee depends on whether the swap improves balance or reduces it.
There is also an execution fee detailed below which is used to pay for the blockchain network costs.
There are two transactions involved in opening / closing / editing a position:
- 1.User sends the first transaction to request open / close / deposit collateral / withdraw collateral
- 2.Keepers observe the blockchain for these requests then execute them
The cost of the second transaction is displayed in the confirmation box as the "Execution Fee". This network cost is paid to the blockchain network.