insufficient liquidity for this trade что делать
MoneroASM [Вникаю в блокчейн]
Запись опубликована MoneroASM · 23 мар 2021, 15:01
После создания статей* о DeFi проектах на Ethereum и ланчпуле на Binance пришло понимание, что и там и там есть свои недостатки. На эфировских платформах цена за газ и размеры комиссий за транзакции продолжают достигать рекордно высоких значений, что делает микроинвестиции нерентабельными. В ланчпулах на Binance комиссий нет, всё надёжно, но они не часты и больших «иксов» там не заработать.
Поэтому пришла идея опробовать новую площадку для фарминга. Мне посоветовали PancakeSwap и проект вызвал интерес. Во-первых, он построен на BinanceSmartChain (BSC) — блокчейн-сервисе Binance, запущенном осенью 2020. Благодаря заявленным низким комиссиям за транзакции, популярность BSC растёт у пользователей и разработчиков. В феврале 2021 BSC даже опередил Ethereum по количеству новых уникальных адресов и объёму транзакций:
Во-вторых, PancakeSwap является лидирующей площадкой для обмена и фарминга, построенной на BSC. А по объёму заблокированных средств в пулах вполне сопоставим с эфировским Uniswap — 4,1 млрд долларов на PancakeSwap против 4,3 млрд на Uniswap, на текущий момент.
Низкие комиссии, лидирующая позиция и возможность найти альтернативную площадку для заработка — чем не аргументы для изучения. Рассмотрим, что собой представляет платформа, какие возможности предлагает и попробуем испечь немного CAKEов 😁
Что это
PancakeSwap — это децентрализованная биржа построенная на BinanceSmartChain и работающая на основе AMM-алгоритма (автоматический маркет-мейкинг).
Проект запущен в сентябре 2020 года. Официальный сайт https://pancakeswap.finance
Токены платформы
CAKE — нативный служебный токен PancakeSwap. Является токеном формата BEP-20 (стандарт на BSC, аналог стандарта ERC-20 на Ethereum).
Выполняет функцию токена управления. Владельцы CAKE могут голосовать за предложения или подавать собственные на специальном портале голосования. Большинство предложений касаются добавления новых токенов для создания новых пулов ликвидности/обменных или для создания новых пулов для фарминга.
CAKE начисляют пользователям в качестве награды за предоставление ликвидности и фарминг на площадке, также ими можно участвовать в стейкинге.
На 19.03.2021 курс CAKE равен 10 долларов за штуку с общей капитализацией более 1,3 млрд долларов.
LP (FLIP) — токены, которые предоставляются поставщикам ликвидности (Liquidity Providers) взамен их средств, размещенных в пуле. LP-токены подтверждают внесение средств в пул, отражают долю в пуле и на них происходит начисление вознаграждения. Подробнее о них будет ниже.
Возможности PancakeSwap
Платформа представляет собой не только децентрализованную биржу для обмена токенов, но и площадку для получения пассивного дохода в виде:
Некоторые из этих инструментов взаимосвязаны. Например, чтобы начать фармить LP-токены, сначала их необходимо получить, обеспечив ликвидность пулу. А чтобы вложиться в пул, перед этим, можно в нём же купить необходимый токен. Получается некая многоходовочка 😁 Протестируем функционал площадки и начнём с обмена токенов.
Обмен (торговля) через пул
Как и на Uniswap, на Pancake нет классической книги ордеров, а есть автоматические пулы ликвидности, через которые происходит обмен (покупка/продажа) криптовалюты. Подробнее о принципе устройства AMM-алгоритма и работе пула ликвидности можно прочитать в статьях про Uniswap 1-я и 2-я части и про пулы ликвидности на Binance 1-я и 2-я части. Мы же переходим к обмену.
Захожу на площадку через браузер Chrome (через Safari тоже работает) и подключаю к ней кошелёк — «Connect wallet». Среди доступных кошельков есть MetaMask (в нём можно переключить сеть с Ethereum на BSC) и TrustWallet (используется для хранения BEP-20 токенов). У меня есть TrustWallet и выбираю его.
О подключении. Через кнопку TrustWallet кошелёк не подключается — постоянно выдаёт ошибку. Поэтому использовал WalletConnect и сканирование QR-кода. Подключение получилось не с первого раза, в процессе работы кошелёк периодически «отваливается» и приходится синхронизировать заново. Возможно, это временное явление, связанное с недавно произошедшей хакерской атакой на проект, но сейчас стабильность работы оставляет желать лучшего.
У меня есть немного BNB в кошельке. Цель купить CAKE, чтобы далее вложить их в пул ликвидности CAKE/BNB и получить LP-токены CAKE-BNB, которые затем отправлю в фарминг. Первоначальная проверка показала, что разница курсов покупки на PancakeSwap и на Binance начинается в 4-м знаке после запятой, то есть практически одинаковая:
На рисунке 4.2 видим следующие обозначения:
Maximum Sold – максимальная цена, по которой пройдёт сделка (отклонение также идёт в 4-м знаке после запятой). Если цена изменится выше, то транзакция вроде как не пройдёт.
Price Impact – алгоритм предупреждает о возможной разница между рыночной ценой и предполагаемой ценой сделки.
Liquidity Provider Fee – комиссия за транзакцию в 0,2% от сделки, которую возьмёт пул.
Немножко меняю суммы и делаю обмен 0,04 BNB на 1,04818 CAKE:
Комиссия пула за обмен составила 0,00008 BNB, плюс комиссия за транзакцию в сети BSC (сетевой сбор) составила 0,00113838 BNB. Таким образом, в пересчете на доллары по курсу на момент сделки (262 бакса за 1 BNB), расходы на сделку составили примерно 32 цента.
Если бы я купил CAKE на Binance и отправил бы их в кошелёк, то комиссия покупку составит 0,00004 BNB, за транзакцию – 0,021 CAKE, что в пересчёте на доллары составляет 0,22 цента, то есть вышло бы дешевле чем покупка на PancakeSwap.
Три наблюдения о работе на платформе:
💡 Во время подтверждения транзакций через TrustWallet надо, чтобы в кошельке была открыта вкладка WalletConnect, где появляется окошко с подтверждением. В противном случае при нажатии в браузере кнопки, ничего не происходит ни в нём, ни в кошельке.
💡 Размер сетевого сбора не зависит от суммы транзакции. Например, при обмене на 10 долларов и на 50 долларов сетевой сбор будет примерно одинаковый:
Это справедливо и для более крупных сумм, в чём можно убедиться, посмотрев историю транзакций на bscscan.com. Такая же ситуация и с транзакциями на Ethereum – стоимость комиссии зависит не от суммы перевода, а от типа транзакции и момента времени.
При этом, размер комиссий за аналогичные транзакции в BSC существенно ниже, чем на Ethereum – на момент проведения моей транзакции комиссия за такую-же на эфире составляла примерно 6,7 доллара (21 000 газа * 189 гвей / 1 млрд * 1700 долларов), то есть в 20 раз больше.
Итак, у меня в кошельке есть необходимое количество BNB и CAKE и перехожу к предоставлению ликвидности.
Предоставление ликвидности в пул
Чтобы стать поставщиком ликвидности пула CAKE/BNB необходимо внести в пул CAKE и BNB в соотношении 50/50. Взамен получим LP-токены CAKE-BNB, подтверждающие внесение средств и отражающие состояние нашей доли в пуле. На них будет начисляться вознаграждение.
За каждую сделку в пуле биржа взимает комиссию в 0,2% от сделки, из которых 0,17% идут поставщикам ликвидности, а 0,03% в PancakeSwap Treasury (казначейство биржи, где они вроде-бы потом сжигаются). Вознаграждение распределяется между ними пропорционально доле в пуле.
Полученные LP-токены можно вложить в фарминг CAKE и параллельно продолжать получать вознаграждение от торговых комиссий в пуле. LP-токены можно продать в любой момент и выйти из пула.
Важно помнить о риске «непостоянных потерь», когда в результате изменения цены активов и их перераспределения внутри пула, можно понести убыток. Подробно о непостоянных потерях и моём опыте вложений можно прочесть в статьях о пулах ликвидности на Binance 1-я и 2-я части.
Ввод средств
Перед вводом средств в пул необходимо подтвердить ( approve ) доступ смарт-контракта PancakeSwap к токенам CAKE в моём кошельке. Это стоило 0,0004443 BNB или примерно 11 центов на момент транзакции:
Подтверждение прошло успешно и теперь ввожу в пул 0,0771081 BNB и 2,0279 CAKE:
Ввод средств стоил мне 0,00187275 BNB или 48 центов, и взамен внесённых токенов я получил 0,3495 LP-CAKE/BNB, которые отражаются в кошельке.
В заключение
Теперь буду наблюдать, как будут перераспределятся активы в пуле и смогу ли что-то заработать на комиссиях. Также внесу LP-токены в фарминг для «выпечки» CAKE. О результатах расскажу в следующей части, а также посмотрим, как ещё можно заработать CAKE и попробуем принять участие в лотерее.
Пока что впечатление от площадки в целом положительное, благодаря приятному интерфейсу и лайтовым в сравнении с Ethereum комиссиям на BSC. Однако, стабильность соединения TrustWallet-PancakeSwap оставляет желать лучшего, поэтому попробую протестировать как работает связка MetaMask-TrustWallet.
У нас появился Телеграм-канал, где будем публиковать анонсы новых статей выходящих на Дзене и возможно наблюдения, которые показались интересными, но вышли за тему еженедельной статьи.
Подписывайтесь на каналы и читайте про криптовалюты.
*Ссылки на статьи по теме:
How to Fix “Insufficient Liquidity For This Trade” on PancakeSwap
Are you getting an “Insufficient Liquidity For This Trade” error on PancakeSwap?
Many users are experiencing this issue on the exchange when they are trying to swap tokens.
This issue also occurs on other decentralized exchanges like Uniswap.
If you’re trying to swap a token on PancakeSwap V2, it’s likely that you’ll face the “Insufficient Liquidity For This Trade” error.
The error will occur less or not at all the old version of the exchange.
In this guide, you’ll learn why does PancakeSwap keep saying “Insufficient Liquidity For This Trade”, and how to fix it.
Why does PancakeSwap keep saying “Insufficient Liquidity For This Trade”?
PancakeSwap keep saying “Insufficient Liquidity For This Trade” because you’re using the newer version of the exchange.
The newer version of the exchange (V2) typically shows the “Insufficient Liquidity For This Trade” when you’re trying to swap for a token.
PancakeSwap has migrated from V1 to V2 on 25 April 2021.
Unfortunately, the migration from V1 to V2 has caused liquidity issues.
As a result, you may not be able to swap older tokens on PancakeSwap V2.
Another reason for the “Insufficient Liquidity For This Trade” error is because your slippage tolerance is too low.
When your slippage tolerance is too low, your order will not be executed because the price difference is too high.
How to fix “Insufficient Liquidity For This Trade” on PancakeSwap
To fix “Insufficient Liquidity For This Trade” on PancakeSwap, you need to use the V1 (old) exchange instead of V2.
Alternatively, you can try increasing your slippage tolerance to 12% or higher.
In most cases, you’re getting the “Insufficient Liquidity For This Trade” error on PancakeSwap because the token that you’re trying to swap does not support the V2 exchange.
If you’re swapping tokens that have updated their liquidity pool, the error will not occur.
PancakeSwap V2 is a newer version of the exchange.
As PancakeSwap migrated from V1 to V2, you may get an error when you’re trying to swap new tokens as V1 does not support them.
Here’s how you can fix “Insufficient Liquidity For This Trade” on PancakeSwap:
Method #1: Use the V1 (old) exchange
The first method to fix “Insufficient Liquidity For This Trade” on PancakeSwap is to use the V1 (old) exchange.
Firstly, open PancakeSwap and connect your wallet if you haven’t already.
At the bottom of the exchange, you’ll see a couple of versions including “V2” and “V1 (old)”.
“V2” is the latest version of PancakeSwap, while “V1” is the older version.
Tap on “V1 (old)” to switch the version of PancakeSwap to the older one.
After you’ve tapped on “V1” old, a pop-up message will open.
The pop-up message states that PancakeSwap V1 is no longer supported.
It also recommends you to go to the V2 Exchange instead for better prices.
At the bottom of the pop-up message, you’ll see a checkbox.
To proceed to use PancakeSwap V1, you need to understand that V1 is no longer supported, and you may experience significant slippage.
Tap on the checkbox to agree with the term.
Lastly, tap on “Continue to V1 Anyway”.
After you’ve tapped on “Continue to V1 Anyway”, PancakeSwap V1 will open.
This time, you should be able to swap your tokens without getting an “Insufficient Liquidity For This Trade” error.
Method #2: Increase your slippage tolerance
If you’re still getting the error message after switching the version of PancakeSwap to V1 (old), you can try increasing your slippage tolerance.
At times, you won’t be able to swap your tokens because your slippage tolerance is too high.
This is because your order will not be executed if the price difference is greater than your slippage tolerance.
To fix this, open PancakeSwap and tap on the Settings icon.
After you’ve tapped on the Settings icon, a settings pop-up will open.
On the settings pop-up, you’ll see three percentages that you can choose from, including “0.1%”, “0.5%”, and “1%”.
For new tokens, these slippage tolerances are too low.
To fix this, input “12%” on the percentage field.
After you’ve inputted “12%” on the percentage field, you’ll see an error message saying that your transaction may be frontrun.
Close the pop-up message and try swapping your tokens again.
This time, you should be able to swap your tokens without any errors.
Alternative solutions
If you’re still unable to fix the “Insufficient Liquidity For This Trade” error on PancakeSwap even after using the two methods above, there are a couple more methods that you can try.
Firstly, try switching your network.
For example, if you’re connected to Wi-Fi, try disconnecting from it and use your mobile network instead.
On the other hand, if you’re using your mobile network, try connecting to Wi-Fi instead.
This may help resolve the liquidity issue.
Additionally, if you’re using a VPN, try disconnecting from it.
The final method you can try is to wait it out.
At times, the error message is temporary, and it’ll eventually resolve itself after some time.
If you’re still having issues, then the error isn’t from your end or PancakeSwap’s, but the tokens that you’re trying to swap.
“Insufficient Liquidity for this trade” [SOLVED] | Easy Steps
“How to fix Insufficient liquidity for this trade problem in Pancakeswap?” Well, if this question is coming to your mind, read this article to know the solution. Here we have given some easy methods to solve this error. If you are new to crypto trading in Pancakeswap, they face this problem. Read the step by step process and buy your desired coin through Pancakeswap without getting the “Insufficient liquidity for this trade” error.
What is meant by Insufficient liquidity for this trade?
Well, there are two reasons you are facing this issue.
1st Reason: Pancakeswap.finance has migrated from V1 to V2 and this is the main cause that you are facing for insufficient liquidity when you are trading or swapping your coins through Version 1 of Pancakeswap.
2nd Reason: Your slippage tolerance may be low. Set your slippage tolerance to 12% (in some cases 20%) before swapping.
How to Solve Insufficient Liquidity in PancakeSwap – Step by Step
Step 1: Go to Trustwallet App on your mobile and visit “Pancakeswap” on “DApps” or visit pancakeswap.finance official website.
Step 2: Now, click on the “Settings” as shown in the red circle in the image below.
Step 3: Then, set the Slippage Tolerance to “12“. Don’t touch other parameters.
Step 4: Now, you can swap your desired coins by clicking on “Swap“. The “Insufficient Liquidity for this trade” will not show up.
This is how we can resolve the Insufficient Liquidity for this trade issue. If you have any question related to Crypto Trading in Pancakeswap, comment below. Keep checking our website for more updates on Crypto.
How to Fix “Insufficient Liquidity For This Trade” on PancakeSwap
However, just like any other platform PancakeSwap also stumbles upon an error or two from time to time. “Insufficient Liquidity For This Trade” is a prominent error message that the users of PancakeSwap often complain about.
How to Fix “Insufficient Liquidity For This Trade” on PancakeSwap
Now, after knowing about the issue, I’m sure that you are of the opinion that it is not much of a deal to get rid of the error message. You can simply rest assured because here’s a guide that you can follow to help yourself without any worries.
Method 1 – Use the Old Version of PancakeSwap
If you are eagerly waiting to solve the error message quickly and without much worry, then it’s better to switch to the old exchange and leave using the newer version altogether. Using the V1 (old) exchange instead of V2 will surely bring you the quickest and easiest solution because it is the newer version that is currently creating the problems, switching over to the older version will iron them out!
Alternatively, you can try and do one thing, which is to increase your slippage tolerance to 12% or higher.
In the case of most of the users, the error message “Insufficient Liquidity For This Trade” occurs on PancakeSwap because the token that they are trying to swap does not support the V2 exchange. Therefore, if you try to swap the tokens that have updated their liquidity pool, then you will not be getting the error message on your screen.
As PancakeSwap has already migrated from V1 to V2, you might be seeing the mentioned error message, simply because V1 does not support swapping new tokens.
How to switch to the older version of PancakeSwap?
You can switch to the older version of PancakeSwap quite effortlessly. Follow the steps that follow, which will help you do so without any worries:
Also Read:
Dharmesh Donda
iStaunch is written by Dharmesh Donda, an avid Internet geek, IT professional since 2012. Have been in IT industry for more than a decade, and currently doing management and consulting work have taken a plunge into entrepreneurship.
What does insufficient liquidity for this trade mean?
By reading the article “how to solve insufficient liquidity for this trade error ” published in Adaas Investment Magazine, you will get acquainted with insufficient liquidity and its solutions in general.
Insufficient liquidity for this trade error solutions
Insufficient liquidity is an error that some decentralized exchange users, especially the PancakeSwap decentralized exchange, encounter during some transactions, which is an obstacle for their transactions.
There are various solutions to the error of insufficient liquidity for this trade in decentralized exchanges, and in the following, we have explained to you the best methods to solve this problem.
It is better to get acquainted with the concept of liquidity in decentralized exchanges before studying the training so that you can understand the reason and nature of insufficient liquidity error.
what is liquidity?
Liquidity in different economies and financial markets is defined differently but by a specific concept. Liquidity is generally the amount of money or assets that can be traded in the market. This market can be a stock market or a cryptocurrency market.
Solve the problem of insufficient liquidity
As you have read, there are 3 solutions to this error that Adaas Investment Magazine has provided for you.
Exchange version change
One of the most successful methods to fix this error is to use other versions of exchanges. You may ask, how many versions does a decentralized exchange have?
For example, the PancakeSwap decentralized exchange is offered in version V1 (old version) and new version V2. To change the versions in the Swap section, a little lower than the main section, these options can be seen and used.
To make sure this method is able to solve the problem of insufficient liquidity for this trade, we can get help from CoinMarketCap.com. To do this, we enter the desired cryptocurrency profile and in the Markets section, we review the liquidity of the exchange offices.
As you can see in the image below, in the old version of the PancakeSwap exchange, the amount of liquidity is more than 5 times that of the new version. So this solution is applicable to trade this token.
Reduce the amount of purchases and break down transactions
Sometimes some cryptocurrencies can be bought in very small amounts of dollars because of their very low price. To solve this problem, we can reduce the number of assets we intend to trade and buy or sell the desired amount in a few transactions.
Price slippage tolerance increase
To trade cryptocurrencies in decentralized exchanges such as PancakeSwap, when faced with insufficient liquidity error, changing the price slippage to complete the transaction can be the solution.
Sometimes, due to excessive price fluctuations and the lengthy process of registering a buy or sell transaction in decentralized exchanges, an increase in price slippage helps to complete the transaction.
To do this, according to the image below, we click on the gear symbol in PancakeSwap DEX, then we try to change the price slippage tolerance and confirm it.
Other basis solutions
Other solutions, such as using high-speed Internet, using another mobile phone or another laptop, and even changing browsers application can sometimes solve the problem of insufficient liquidity for this trade. You can also share the solutions you have experienced in the comments section so that users can access their answers faster.
Also, the practical information that has been published for you below will make you more aware of the nature of this error.