# Conditions

BlackswanAI uses conditions to decide on whether or not to open a trade. If the decision is met, the trade will open.

For this reason it is important to state the trading conditions explicitly and not attempt to use something too generic. This ensurely blackswan will only trade on those important market-moving news events. Below is an example of what we believe to be one of the best upcoming events to potentially trade on. The Bitcoin Spot ETF approval.

<div><figure><img src="https://2918744924-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtinNYGgtYekAT328I30I%2Fuploads%2F4kFJwDE5C8YP1rJBQqwI%2Ftg-main-bot-6.PNG?alt=media&#x26;token=640aef58-d04e-4445-8f28-2b657f751ddb" alt=""><figcaption><p>The condition is typed out in condition</p></figcaption></figure> <figure><img src="https://2918744924-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtinNYGgtYekAT328I30I%2Fuploads%2FMsvz53A85gG0ruVusFnZ%2Ftg-main-bot-7.PNG?alt=media&#x26;token=590fa279-87c1-4001-8ab4-14aaee24b7b5" alt=""><figcaption><p>Pair, amount, leverage, take profit and stop loss set</p></figcaption></figure></div>

1. First type your condition in.
2. Select trade direction (we have chosen LONG here as we believe that news would cause a significant price increase)
3. Collateral is if you want to use linear or inverse pairs. If you arent sure what this means, leave it set to linear
4. Enter the pair - This should be the trading pair as its found on your exchange of choice. For example, Binance Futures for Bitcoin would be BTCUSDT
5. Set trading amount - this is the NOTIONAL size - so for the trade above, it would use 200usd of margin for the 50x trade of 10000 USD
6. Set your Take profit and Stop Loss levels
7. Add another condition or deploy your bot

{% hint style="info" %}
**Chad Tip:** You should use at least two conditions in your blackswan instance. For the example above with the ETF, you could add another condition to SHORT if the ETF gets rejected
{% endhint %}


---

# 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://blackswan-ai-trading.gitbook.io/blackswanai/setup-guide/getting-set-up/conditions.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.
