# Customize strategies

## Configuring open bot variables

* Go to the config file in `src/config/index.js`.&#x20;

Here you will find the following variables:<br>

![Configurable strategy parametres](/files/-L_qdf71w7mavQgWTTxh)

#### Trading mode

Choose between

* Backtesting
* Paper testing
* Running the bot live

#### Time measures

* Time frame (if backtest is chosen)
* Backtest days (if backtest is chosen)
* Retry order (to configure the order execution)

#### Market

* Specify your market foreaxmple 'BTC-ETH' for Bitcoin / Ethereum market.

#### Strategy

* Choose a premade strategy such as 'BBANDS-RSI' or set in your own custom strategy.
* Each folder in `src/core/strategy/strategies` folder is a strategy you can choose from&#x20;

## Creating your own strategy

* To create your own strategy take a look at the template implementation in `src/strategy/strategies/TEMPLATE`
* When you add a new folder with the strategy as `index.js` then webpack will make that folder available as a module.
* So if we add a folder called `MY_NEW_STRATEGY` in `src/strategy/strategies` you can then set the `STRATEGY` value in the config file to `'MY_NEW_STRATEGY'`.


---

# 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://openbot.gitbook.io/project/create-strategy.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.
