aijiebots office excel crypto trading bots tutorial 5:How to set parameters?

How to set parameters for the crypto trading bot

1.Parameter description:

Symbol: The format of okx exchange is BTC-USDT-SWP, and the format of binance is BTCUSDT.

LowerThe lowest price for crypto trading bot running.  The trading bot will stop opening positions

                below the price

Upper The highest price for crypto trading bot running.  The trading bot will stop opening positions

                  above the price

Max levThe maximum actual leverage allowed for every position for the trading bot, the leverage is

                   equal to the position value/margin value, The trading bot will stop opening positions exceeds

                   at the maximum leverage.

Cancel time: When no any orders is filled exceed the cancel time (default 5 minutes), the trading bot will

                        cancel all orders  and re-open new orders.

Grid space: Grid space (percentage %) between orders placed by the trading bot. For example, the current

                     price is 100 and the spacing is 1%, then the trading bot will place new orders at price of 99, 98,

                     97, 96 and wait.

Grid profit: After each pending order is filled, the grid profit is the percentage range between the closing price

                    and the filled price, for example, the setting Grid profit is 2%, a long order at the price of 99 will be

                    closed at 99*1.02=100.98.

Unpaired Profit: if the order has not been completed after the cancel time, after the trading bot will cancel all

                    pending orders, the Unpaired Profit is a price space between the closing price of the unfilled order

                    and the entry price of the order.For example, the Unpaired Profit is set to 5%, and the entry price

                    of the order is at 100, then the unfilled order will be closed at 105.

Bots type: There are three optional bot strategies, grid/Martin-like/hybrid strategy. Wherein the grid strategy

                    increases positions more evenly, and the Martin-like strategy with lower initial position but the

                    position is added faster, and the hybrid strategy is somewhere in between  the grid bot and Martin-like bot.

image.png


2. Parameter setting method 1:

Click the Bots Setting button of the software, fill in the parameters, and click to set the parameters;


image.png


3. Parameter setting method 2:

Fill in the parameters directly in the cell;

image.png


4. Take profit and stop loss settings

4.1 Single margin mode:  

When the value of the USDT balance [B2] cell is greater than the total take-profit amount [B5] cell,

all positions will be closed and the trading bot will be stopped;  

When the value of the USDT balance [B2] cell is less than the total stop loss amount [B6] cell,

all positions will be closed and the trading bot will be stopped;



image.png


4.2 Muti-currency margin mode:

Since the margin of Binance’s Muti-currency margin mode requires more than 100,000 US dollars,

so the trading bot only supports the Muti-currency margin mode of okx.

The equivalent margin is guaranteed to be higher than US$10,000 for okx Muti-currency margin mode.

In addition, you need to switch to the Muti-currency margin in the trading settings and select auto-borrow.

After the Muti-currency margin mode is enabled, all assets in the trading account will be converted into USDT

according to a certain proportion as the margin for opening a position.

In this way, you can open a USDT-based contract position even if you do not hold USDT.

image.png


Take profit and stop loss:

When the value of the USDT balance [C2] cell is greater than the total take-profit amount [B5] cell, all positions

will be closed and the strategy will be stopped;When the value of the USDT balance [C2] cell is less than the

total stop loss amount [B6] cell, all positions will be closed and the strategy will be stopped;

Note that Muti-currency margin mode, the balance of USDT may be negative.

image.png


5. After completing the parameters,

click the Start bots button to run the bots in the excel list.

Note: The trading is a cross position mode. For example, if 10 bots are run and the maximum leverage

of each bot is 1, then any new orders may be opened when the leverage is less than 10.

When all positions of the bot exceed the maximum leverage, the trading will stop opening new positions.


image.png


  admin   2024-4-9

评论: