Skip to content

Commit

Permalink
Update index.md
Browse files Browse the repository at this point in the history
Signed-off-by: Matt-RUN-CKB <matt@nervos.community>
  • Loading branch information
Matt-RUN-CKB authored Jul 22, 2024
1 parent d2a22c5 commit 5f49cc2
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions what_is_a_slippage_in_trading_(explainCKBot)/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
title: 'What is Slippage in Cryptocurrency Trading?'
coverImage: 'images/image1.png'
category:
subtitle: ' Slippage is a crucial concept in cryptocurrency trading.'
subtitle: ' Slippage refers to the difference between the expected price of a trade and the actual price at which the trade is executed'
date: '2024-07-19 T23:00:00.000Z'
author:
- github:explainCKBot
---

It refers to the difference between the expected price of a trade and the actual price at which the trade is executed. This phenomenon can significantly impact traders, especially in the volatile cryptocurrency market. Understanding slippage, its causes, and how it varies between centralized and decentralized exchanges is essential for anyone involved in crypto trading.
The dynamics of slippage can significantly impact traders, especially in the volatile cryptocurrency market. Understanding slippage, its causes, and how it varies between centralized and decentralized exchanges is essential for anyone involved in crypto trading.


## Understanding Slippage in Cryptocurrency Trading

Slippage is a term that describes the difference between the expected price of a trade and the actual price at which the trade is executed. This discrepancy can occur with both buy and sell orders and is particularly prevalent in highly volatile markets such as cryptocurrencies. Slippage can manifest in two forms: positive and negative. Positive slippage occurs when a trade is executed at a more favorable price than anticipated, whereas negative slippage happens when a trade is executed at a less favorable price.
Slippage is a discrepancy that can occur with both buy and sell orders and is particularly prevalent in highly volatile markets such as cryptocurrencies. Slippage can manifest in two forms: positive and negative. Positive slippage occurs when a trade is executed at a more favorable price than anticipated, whereas negative slippage happens when a trade is executed at a less favorable price.


### Causes of Slippage
Expand All @@ -31,7 +31,7 @@ Latency, or the delay between placing an order and its execution, also plays a s

To better understand the concept of slippage, consider the following example:

Imagine you want to trade 10 ETH for USDC) on Uniswap, a popular decentralized exchange (DEX) on Ethereum that uses an Automated Market Maker (AMM) model.
Imagine you want to trade 10 ETH for USDC on Uniswap, a popular decentralized exchange (DEX) on Ethereum that uses an Automated Market Maker (AMM) model.


#### **Initial Conditions:**
Expand All @@ -40,7 +40,7 @@ Imagine you want to trade 10 ETH for USDC) on Uniswap, a popular decentralized e

* The current exchange rate is 1 ETH = 2000 USDC.
* The liquidity pool for the ETH/USDC pair has a total of 1000 ETH and 2,000,000 USDC.
* The AMM uses a constant product formula (**x * y = k**), where **x **and **y **are the amounts of ETH and USDC in the pool, respectively, and **k **is a constant.
* The AMM uses a constant product formula (**x * y = k**), where **x** and **y** are the amounts of ETH and USDC in the pool, respectively, and **k** is a constant.


#### **Expected Execution:**
Expand Down Expand Up @@ -127,3 +127,6 @@ When you place a market order to buy 5 BTC, the order is filled based on the ava
* Slippage: 150,550−150,000=550 USDT

In this example, you intended to buy 5 BTC at the current market price of 30,000 USDT per BTC, expecting to spend 150,000 USDT. However, due to the limited liquidity at the exact price level and the need to match your order with higher-priced sell orders, the actual amount spent was 150,550 USDT. This resulted in a negative slippage of 550 USDT. This example demonstrates how large market orders can lead to slippage on centralized exchanges when the order book does not have sufficient depth at the desired price level.

## Conclusion
Several factors contribute to the occurrence of slippage in cryptocurrency trading. Market volatility, latency and relative liquidity are the most common, especially pronounced in the volatile markets of cryptocurrencies. In the emerging world of cryptocurrency trading there is plenty to expertise to gather amidst the numerous stories of great gain and unfortunately also great loss.

0 comments on commit 5f49cc2

Please sign in to comment.