# Liquidation

![Select Liquidation to create the Liquidation Trading Bot.](https://lh6.googleusercontent.com/DPhCq4Vel_ZxCJgwlFdZftNT_CeOY45ChzeInvEhAq8UcE4KeJrPHtlhASYZjSHrZIN76XgHMIAzMu7JyaJ21Bt9_otkxHQHWxkJFeiaenuQIaow-X8IaquSocjAbJpQ2_TeFXOwm5vhARRID2Y)

We are creating a Liquidation bot, so make sure Liquidation is selected.&#x20;

### Entry Order Settings

**Entry type:** You can choose between Dollar and Percentage. Note: percent is based on TOTAL account balance and not based on available balance. \
\
**Entry size:** Input your entry size. For example, if you selected dollars for "Entry Size Type" and put 100, the bot will open a position for $100 USD. Note, this is position size NOT margin used.\
\
**Order type:** Select the order type you want to use. Limit and Post Only will follow the orderbook until they are filled. Market will open immediately. Please refer to the exchange for further information. Limit entry size is limited to the maximum order quantity. For example, on BTCUSDT the max is 20BTC, if you try to enter with more it'll be capped to 20 BTC automatically.\
\
**Leverage type:** Select the margin type you would like to use. Cross will use your full account for collateral while isolated will be on a pair by pair basis based on margin used. Please refer to the exchange for further information.\
\
**Leverage:** Input the leverage you would like to use. Please refer to the exchange for further information.

### Liquidation Options

**Sources:** Select the source(s) of liquidation you would like considered to enter a trade. Note, VWAP and Volume will be based off the exchange you are trading. For example, if you are using Bybit USDT and have Binance selected here, it will use the VWAP and Min/Max volume from Bybit USDT but will add in Binance liquidation events.\
\
**Minimum Volume ($MIL):** Input the minimum 24-hour rolling volume in millions (USD) that the symbol must have prior to entering a trade.\
\
**Maximum Volume ($MIL):** Input the maximum 24-hour rolling volume in millions (USD) that the symbol must have prior to entering a trade.\
\
**Minimum Liquidation Size:** Input the minimum liquidation in dollars (USD) that must occur prior to consider opening a position.\
\
**Long VWAP:** The distance from current VWAP price, in %, that price must be UNDER when a liquidation event occurs to meet the second of the two conditions to enter a long trade/add to an open long position.\
\
**Short VWAP:** The distance from current VWAP price, in %, that price must be OVER when a liquidation event occurs to meet the second of the two conditions to enter a short trade/add to an open short position.\
\
**VWAP Timeframe:** Select the timeframe you want the VWAP to be measured on.\
\
**VWAP Period:** Input the time period over which you want the VWAP to be measured over. For example, if you use "5" for this and "15" for VWAP Timeframe. The VWAP will be calculated based on the last five 15 minute candles.

{% hint style="info" %}
VWAP settings are calculated directly on the exchange and may differ from TradingView scripts slightly.
{% endhint %}

Once completed you can proceed to the next steps:\
Define your DCA as described [here](/trading-bots/create-a-trading-bot/dollar-cost-averaging-dca.md).\
Define your TP as described [here](/trading-bots/create-a-trading-bot/take-profit-tp.md).\
Define your SL as described [here](/trading-bots/create-a-trading-bot/stop-loss-sl.md).


---

# 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://guide.wickhunter.io/trading-bots/create-a-trading-bot/entry-types/liquidation.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.
