# Trading Parameters

### Fund Allocation

The total funds set aside for the bot to execute its orders. The maximum amount of funds that is allowed to be used by the bot. There are two main types of orders - STATIC and DYNAMIC.&#x20;

For STATIC order type, each new deal will always use the Fund Allocation value.

For DYNAMIC order type, each new deal will use the proceeds (realized profit or loss) from the last deal for the new deal's Fund Allocation.

If the bot makes a profit with Dynamic order type, profits are added to the Fund Allocation and used for the bot's future Deals. The reverse applies if the bot made a loss in the previous deal.

Bots will continue to execute orders and complete deals as long as there are still remaining funds set in the Fund Allocation for each bot.

{% hint style="info" %}
If you are using **DYNAMIC** order type, the bot will add previous profits to the next Deal. Hence, it may seem that you have actually allocated sufficient capital but, in fact, the bot's internally computed allocated capital is higher than your preset value. We recommend using **STATIC** order if you may be reallocating the profits made by the bots. It is also simpler and clearer.

If you would like to update the Fund Allocation for a Dynamic order bot, please save the bot as STATIC with the new Fund Allocation. Then, when the bot opens with the first deal using the new Fund Allocation, you can update the bot to Dynamic.
{% endhint %}

{% hint style="info" %}
Many users will deploy the excess profits to other purpose (withdrawals, personal trading, etc). Due to this reason, a bot will become inactivated when it encounters an insufficient capital scenario.
{% endhint %}

### Base Order Limit

The first order the bot makes,  it is set by a percentage of the Fund Allocation reserved for the bot. Once a Entry Condition is triggered, the Base Order is the amount the bot will place.

### Base Order Type

| **Static**                                                                 | **Dynamic**                                                           |
| -------------------------------------------------------------------------- | --------------------------------------------------------------------- |
| Always the same, as set in Base Order Limit                                | Changes according to the Bot's performance                            |
| Profits are kept out of the bot, put into Available Balance in a Portfolio | Profits are kept within the bot, Reserved for Bot's subsequent orders |

### Extra Orders

All remaining Allocated Funds not used in the Base Order Limit will be assigned to Extra Orders. Each Extra Order is divided by the number of Extra Orders set equally. Extra Orders are triggered when Entry Conditions are met again before any Exit Conditions, Stoploss or Take Profit triggers.

### Trading Frequency

Trade Frequency sets the bot to evaluate and place orders based on the Entry and Exit Conditions at every set time interval. Data is consolidated from candlestick data, Trading Frequency evaluates data as per their respective candlestick interval. The higher the trading frequency, the higher the number of evaluations can be done, hence the bot will tend to place orders more frequently.

| Candles Per Frequency / Time Frame | 1D  | 4H   | 1H   | 15M   |
| ---------------------------------- | --- | ---- | ---- | ----- |
| **1 Day**                          | 1   | 6    | 24   | 96    |
| **1 Week**                         | 7   | 42   | 168  | 672   |
| **1 Month**                        | 30  | 180  | 720  | 2880  |
| **3 Months**                       | 91  | 546  | 2184 | 8736  |
| **6 Months**                       | 182 | 1092 | 4368 | 17472 |
| **1 Year**                         | 364 | 2182 | 8728 | 34912 |

{% hint style="info" %}
Professional Plan users have access to **5** minute Trading Frequency
{% endhint %}

{% hint style="info" %}
Read more about [Trading Frequency](https://blog.stockhero.ai/how-trading-frequency-affect-bot-performance/) in our Blog.
{% 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://docs.forexhero.ai/bot-settings/trading-parameters.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.
