Advanced Index Bot

From Haasonline Software Wiki
Jump to: navigation, search

With the Advanced Index Bot, you can invest and diversify a percentage of your portfolio with a wide range of currencies available on the platform. The bot will rebalance your assets when one of the currencies has risen or dropped in value and breached the threshold.

Restriction

Only works on spot markets.

About

With a large number of cryptocurrencies available, it can be hard to pick the right one. This Advanced Index Bot will allow you to create a diverse portfolio. This way you can more easily invest in the individual growth of the many diverse coins.

Performance

Relies heavily on user-defined parameters.

Difference with the normal Index Bot

- Full screen mode
- Detailed information
- Rebalance interval
- Index based on market cap.
- Index based on total USD volume.
- Preserve base index.
- Trailing Stop
- 3rd Rebalance options - Spider Mode. Combines the power the index bot with the Market Making and Flash Crash Bot.

General Parameters

Bot Name

Create a unique name for your bot.

Account

Select the account on which the bot should run.

Base Coin

The index coin is your base currency for your crypto index. This is the currency that will be used to buy or sell other coins.

Template

With this template, regular orders will be placed. If the bot is set on "Spider Mode" it will only use this template when the buy or sell orders are set on 0.

(Trailing) Stop Template

This is the template the bot will use when a stop loss or trailing stop has been activated.

Total Trade Amount

This represents the amount allocated to the bot for trading, spread over all the currencies in the index.

Current Index Value

This is the value of the whole index at this time.

Allocate Profits

When enabled, the bot will add the profit made from sell orders to the "Total Trade Amount". Any losses incurred will not be subtracted.

Preserve Base In Allocation

Enabling this feature will prevent the bot from buying other currencies when the wallet amount falls below the allocated amount of the base coin.

Rebalance Settings

Rebalance Interval

This controls when the bot is allowed to rebalance the index. Stop loss and trailing stops will always be monitored on a one minute interval.

Rebalance Custom Interval

Custom rebalance interval for the bot defined in minutes.

Last Rebalance

Last time the bot has rebalanced the index.

Next Rebalance

Next time the bot will rebalance the index.

Rebalance Modes

Portfolio Growth

Portfolio Growth mode works based on the current value compared to the total index value.

Example

Total Trade Amount:    1 BTC
Coin                   ETH
Current price          0.1 BTC
Reserved amount        1 ETH
Allocated Percentage   10%
Buy Threshold          2%
Sell Threshold         3%

The bot will buy when 1 ETH equal 0.098 BTC and the bot will sell when 1 ETH equals 0.13 BTC.

Individual Growth

Portfolio Growth mode works based on the current price of the coin. When the price raised or lowest a certain percentage the bot will buy or sell.

Example:

Total Trade Amount:    1 BTC
Coin                   ETH
Current price          0.1 BTC
Reserved amount        1 ETH
Allocated Percentage   10%
Buy Threshold          6%
Sell Threshold         10%

The bot will buy when the ETH price below 0.16 BTC and sell when the price is above 0.09 BTC.

Spider mode

Spider mode works the same as the Individual growth mode, except it will place the limit orders in advanced like a Flash Crash Bot.

Example:

 The coin is                    ONT
 If the price is                0.001 BTC
 The allocated amount is        0.1 BTC
 Bot has                        100 ONT
 The buy/sell threshold is      1%
 First sell order is on         0.001001 BTC
 The bot needs                  0.1 BTC / 0.001001 BTC  = 99,9 ONT
 Bot places a sell order on     0.001001 for 0.1 ONT
 Second sell order is on        0.001002 BTC
 The bot needs                  0.1 BTC / 0.001002 BTC  = 99,8 ONT
 Bot places a sell order on     0.001002 for 0.1 ONT

The AIB trades dust in comparison with the allocated amount/percentage. With the individual or portfolio growth this isnt an issue. The bot waits until the order amount is big enough for the exchange to allows the order, but on spider mode the bot trades on fixed price points, so this is a bigger issue. Next to the Buy/Sell threshold field is an info icon. This will advice a certain percentage for the threshold. This percentage be big enough for the first few orders to be allowed to place on the exchange. Exchanges with a high minimum trade amount/volume will have a high percentage. The advised percentage is effected by the allocated amount. The higher the amount, the lower the advised threshold will be. The info icon next to the coin dropdown will tell you the market minimum information. If the bot is not placing orders after it has been activated, check the bot log. It will show you the reason why.

Index Table

Allocated Percentage

This is the percentage of the “Total Trade Amount" that will be used for the currency.

Allocated Amount

The amount used for the currency. Ending the amount with an % will trigger the software to convert the percentage to a fixed amount.

In Wallet

The amount currently in wallet. Click on the value to set the allocated amount percentage.

In Order

The amount currently in open orders placed by the bot.

Target Amount

The target amount the bot is trying to maintain at the current price.

Target Value

The target amount converted to the base coins value.

Calculated Percentage

The current percentage the bots has reserved based on the current price.

Reserved Amount

The amount reserved by the bot to maintain the currencies allocated amount.

Max Open Buy Orders

The maximum number of buy orders the bot will keep open per currency. If set on 0 the bot will only execute a buy order after the buy targets have been reached.

Max Open Sell Orders

The maximum number of sell orders the bot will keep open per currency. If set on 0 the bot will only execute a sell order after the sell targets have been reached.

Buy Threshold

Depending on the mode, this controls when the bot executes a buy order to raise the calculated percentage.

Sell Threshold

Depending on the mode, this controls when the bot executes a sell order to lower the calculated percentage.

Buy/Sell Threshold

A bot on \"Spider Mode\" can only handle an identical buy and sell threshold. Orders will be placed based on this percentage.

Current Price

The last known price of the currency.

Buy Target

When the price falls below this target, the bot will execute a buy order.

Sell Target

When the price goes above this target, the bot will execute a sell order.

Stop Loss

A stop loss will protect your investment and prevent any further losses. The stop loss will use the price from when the bot was activated. Its a fixed price from the start and the bot will sell all the coins and exclude the index when its breached.

Stop Loss Price

If the price falls below this target, the stop loss will be activated.

Trailing Stop

The trailing stop will monitor the price from the moment the bot was activated. If the price falls by a defined percentage from the highest recorded price, the bot will sell all the coins and exclude the index.

Trailing Stop Price

If the price falls below this target, the trailing stop will be activated.

Profit Table

Total Trades Made

Total number of trades made. Both buys and sells.

Total Bought

The amount purchased, to keep the Allocated Amount aligned, once the buy thresholds were reached.

Total Sold

The amount sold to keep the Allocated Amount aligned, once the sell thresholds were reached.

Fee Cost

Total fees paid from executing orders.

Unrealized Profits

When the bot has purchased more than it has sold. This will show the profit/loss when the additional coins are sold now.

Realized Profits

The bot realizes profit when it completes a sell order. The buy costs of the sell order are matched based on the LIFO (Last In First Out) rule. This means the bot will sell off the extra amount it has purchased first before it uses the start amount . When it uses the start amount it will use the start price as the buy price.

Realized Gain

Realized profit minus fees.

Current Price

The last know price of the currency.

Average Price

If the bot has purchased more than it has sold, this will represent the average price of that amount. If the bot hasn’t purchased more than it sold, this will represent the start price.