LogoLogo
Back to HaasOnline.comSwitch to Developer API
3.x
3.x
  • Welcome
  • Getting Started
    • What is Haas Trade Server?
    • System Requirements
    • Installation
      • Windows
      • Linux
        • Downgrading Mono
      • MacOS
    • Configuration
      • License Key
        • Upgrading Your License
      • Price Drivers & Accounts
      • Exchanges
        • Binance
        • Binance USDT Futures
        • Binance COIN Futures
        • Binance US
        • Bitfinex
        • BitMEX
        • Bitpanda Pro
        • Bitstamp
        • Bittrex
        • Bybit
        • (Unsupported) C-Cex
        • Cex.IO
        • (Unsupported) CobinHood
        • Coinbase PRO
        • Deribit
        • (Unsupported) FTX
        • Gemini
        • HitBTC
        • Huobi
        • Ionomy
        • Kraken
        • Kraken Futures
        • KuCoin
        • (Unsupported) NovaExchange
        • OKCoin
        • OKEX
        • OKEX-Futures
        • OKEX-Swap
        • Poloniex
        • Scripted Driver
    • Updating HTS
      • Stable Update
      • Beta Update
    • Apps
      • Discord
      • Telegram
    • Security
      • Two-factor Authentication (2FA)
    • Troubleshooting
      • Frequently Asked Questions
      • Two-factor Authentication (2FA)
      • Debugging & Logs
      • Exchange API
      • Invalid License
      • Lost Login Credentials
      • Orders Being Rejected
      • Unresponsive HTS UI
      • Using Safe Mode
    • Tips & Tricks
      • Keyboard Shortcuts
      • Migrating Your HTS
      • Never Logout
      • Reactivate Bots on Startup
      • Used Symbols
  • Trade Bots
    • Getting Started
    • General Settings
    • Trade Settings
    • Bot Charts
    • Indicators
      • Candlestick Patterns
        • Advance Block
        • Belt Hold
          • Belt Hold Bearish
          • Belt Hold Bullish
        • Break Away
          • Breakaway Bearish
          • Breakaway Bullish
        • Closing Marubozu
        • Concealing Baby Swallow
        • Counter Attack
          • Counter Attack Bullish
          • Counter Attack Bearish
        • Doji
        • Doji Star
        • Dragon Fly Doji
        • Engulfing Bearish
        • Engulfing Bullish
        • Gap Side-by-Side White Lines
        • Gravestone Doji
        • Hammer
        • Hanging Man
        • Harami
          • Harami Bearish
          • Harami Bullish
        • Harami Cross
          • Harami Cross Bearish
          • Harami Cross Bullish
        • High Wave
        • Hikkake
          • Hikkake Bearish
          • Hikkake Bullish
        • Homing Pigeon
        • Identical Three Crows
        • In Neck
        • Inverted Hammer
        • Kicking Bearish
        • Kicking Bullish
        • Ladder Bottom
        • Long Legged Doji
        • Long Line
        • Matching Low
        • Marubozu
          • Marubozu Bearish
          • Marubozu Bullish
        • On Neck
        • Rickshaw Man
        • Rise Fall Three Methods
        • Separating Lines
        • Shooting Star
        • Short Line
        • Simple Double Down Candle
        • Simple Double Up Candle
        • Simple Down Candle
        • Simple Up Candle
        • Spinning Top
        • Stalled Pattern
        • Stick Sandwich Down
        • Stick Sandwich Up
        • Tasuki Gap
        • Three Black Crows
        • Three Inside Down
        • Three Inside Up
        • Three Line Strike
          • Three Line Strike Bearish
          • Three Line Strike Bullish
        • Three Outside Down
        • Three Outside Up
        • Three Stars in North
        • Three Stars in South
        • Three White Soldiers
        • Tristar
        • Thrusting
        • Two Crows
      • Aroon
      • Aroon Oscillator
      • Awesome Oscillator
      • Balance of Power (BOP)
      • Blind Indicator
      • Bollinger Bands
      • Bollinger Bands %B
      • Bollinger Bands %W
      • Commodity Channel Index (CCI)
      • Chande Momentum Oscillator (CMO)
      • Connors RSI (CRSI)
      • Coppock Curve
      • Detrended Price Oscillator (DPO)
      • Donchian Channels
      • Double Exponential Moving Average (DEMA)
      • Dynamic Buy/Sell
      • Elliot Wave Prediction
      • Exponential Moving Average (EMA)
      • Fast RSI
      • Fibonacci Retracements
      • Fixed Buy/Sell
      • Fractals
      • Ichi Clouds
      • Kaufmans Adaptive Moving Average (KAMA)
      • Keltner Channels
      • Momentum
      • Money Flow Index
      • Moving Average Convergence Divergence (MACD)
      • Parabolic SAR
      • Percentage Price Oscillator
      • Rate Of Change (ROC)
      • Rate Of Change Percent (Alternative) (ROC)
      • Regression Slope Cross
      • Relative Strength Index (RSI)
      • Script Indicator (C#)
      • Simple Moving Average (SMA)
      • Slow RSI
      • Small Fractals
      • Stochastic Oscillator
      • StochRSI
      • Stochastic^2
      • Timed Blind Indicator
      • Tom Demark Sequential (TD)
      • Triangular Moving Average (TRIMA)
      • Triple Exponential Average (TRIX)
      • Triple Exponential Moving Average (TEMA)
      • Ultimate Oscillator
      • Weighted Moving Average (WMA)
      • Williams %R
    • Safeties
      • Stop Loss
        • Stop Loss
        • Stop Loss (Fixed)
        • Stop Loss (Dynamic)
        • Stop Loss (Trailing)
        • Close position below % loss
      • Take Profit
        • Take Profit
        • Take Profit (Fixed)
        • Take Profit (Dynamic)
        • Close position above x% profit
      • Roof-In
        • Roof-In
        • Roof-In (Fixed)
        • Roof-In (Dynamic)
        • Roof-In (Trailing)
      • Disable Bot
        • Deactivate bot after buy
        • Deactivate bot after sell
        • Deactivate after X Minutes
        • Deactivate after X Idle Trades
        • Deactivate After X Trades
      • Others
        • Close Before Settlement
        • Force Bot to stay Bought/Long
        • Force Bot to Stay Sold/Short
        • Price Dump
        • Price Pump
        • Reset last buy price
        • Reset last sell price
        • Trade On Trend Lines
      • Script
        • Script Safety (C#)
    • Insurances
      • Fee
        • Overcome Double The Fee Costs
        • Overcome Fee Costs
      • Script
        • Script Insurance (C#)
      • Others
        • Wait after order
      • Price
        • Never Buy Higher
        • Never Sell Lower
        • Absolute Price Change
        • Percentage Price Change
      • Profit/Loss
        • Be Profitable In X Trades
        • Disable on Losses
        • Stay Profitable
      • Trend
        • Trade Only Sideways
        • Trade Only Trending
  • Custom Bots
    • Accumulation Bot
    • Advanced Index Bot
    • C# Script Bot
    • Crypto Index Bot
    • Email Bot
      • Email provider guide
      • Tradingview alert guide
      • Troubleshooting
    • Flash Crash Bot
      • Setup guide
      • Profit calculation
      • Price spread examples
      • Full screen mode
      • Follow the trend
      • Deactivation safety
      • Order management
      • Amount calculator
    • Intelli Alice Bot
    • Inter-Exchange Arbitrage Bot
    • MadHatter Bot
      • Setup Guide
      • Full screen mode
    • Market Making Bot
    • Order Bot
      • Full screen mode
      • Template Manager
    • Ping Pong Bot
    • Scalper Bot
      • Replicating the Scalper Bot in a Trade Bot
    • Trend Lines Bot
    • Zone Recovery Bot
  • Bot Tools
    • Backtesting & Paper Trading
    • Bot Dashboard
    • Bot List
    • Bot Performance Analyzer
    • Haas Labs
  • Bot Extensions
    • Deactivate After Order
    • Deactivate On Safety
    • Flash Crash Bot Manager
    • Manage Bots On Email Alarm
    • Manage Bots On Price Alarm
    • Manage Bots On Indicator
    • Order Persistence
    • Panic Move
    • Trailing Stop
  • Asset Management
    • Portfolio
      • Settings
      • History Synchronisation
      • Dashboard
      • Asset Information
      • Asset Location
      • Asset Trends
      • Trade Profit
      • Trade Volume
      • Trade Frequency
      • Balance Per Day
      • Trade History
      • Deposit & Withdrawal History
      • Position History
    • External Wallet
  • Other Features
    • Advanced Orders
      • Stop Loss
      • Take Profit
      • Trailing Stop
    • Dashboard
      • Alarms
      • Bots Related
      • Bulk Widgets
      • Account Related
      • Calculators
      • Charts
      • Clocks
      • News & Media
      • Order book & Trades
      • Portfolio
      • Tickers
    • Indicator Scanner
    • Manual Trading
    • Marketview
    • Market Compare
    • Order Templates
    • Technical Analysis
  • Changelog
    • Stable Release
    • Beta Release
  • Other Resources
    • YouTube
    • Guides & Tutorials
    • Questions & Answers
    • Community Projects
  • Need Help?
    • Ask on Discord
    • Submit support ticket
Powered by GitBook
On this page
  • About
  • Supported licence & Trade types
  • Difference with the normal Index Bot
  • General Parameters
  • Bot Name
  • Account
  • Base Coin
  • Template
  • (Trailing) Stop Template
  • Total Trade Amount
  • Current Index Value
  • Allocate Profits
  • Preserve Base In Allocation
  • Rebalance Settings
  • Rebalance Interval
  • Rebalance Custom Interval
  • Last Rebalance
  • Next Rebalance
  • Rebalance Modes
  • Portfolio Growth
  • Individual Growth
  • Spider mode
  • Flash mode
  • Index Table
  • Allocated Percentage
  • Allocated Amount
  • In Wallet
  • In Order
  • Target Amount
  • Target Value
  • Calculated Percentage
  • Reserved Amount
  • Max Open Buy Orders
  • Max Open Sell Orders
  • Buy Threshold
  • Sell Threshold
  • Buy/Sell Threshold
  • Current Price
  • Buy Target
  • Sell Target
  • Stop Loss
  • Stop Loss Price
  • Trailing Stop
  • Trailing Stop Price
  • Profit Table
  • Total Trades Made
  • Total Bought
  • Total Sold
  • Fee Cost
  • Unrealized Profits
  • Realized Profits
  • Realized Gain
  • Current Price
  • Average Price

Was this helpful?

  1. Custom Bots

Advanced Index Bot

With the Advanced Index Bot, you can invest and diversify a percentage of your portfolio with a wide range of currencies.

About

The bot will re-balance your assets when one of the currencies has risen or dropped in value and breached the threshold.

Supported licence & Trade types

Supported Licence

Supported Trade Types

Spot trading

Advanced licence

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 are always 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.103 BTC.

Individual Growth

Individual 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 falls below 0.096 BTC and sell when the price rises above 0.11 BTC.

Spider mode

Spider mode works the same as the Individual growth mode, except it will place the limit orders in advance 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 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
 The 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 just in comparison with the allocated amount/percentage. With the individual or portfolio growth this isn't 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 icon will advise a certain percentage for the threshold. This percentage be big enough for the first few orders to be allowed to be placed on the exchange. Exchanges with a high minimum trade amount/volume will have a high percentage. The advised percentage is affected 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 bots log. It will show you the reason why.

Flash mode

The flash mode works the same way as the spider mode and will place the limit orders in advance like a Flash Crash Bot. While the spider mode places orders that match the allocated amount/percentage, the flash mode allows to set the order size. The bot will reserve an amount to maintain the currencies allocated amount. A bot on flash mode can only handle an identical buy and sell threshold.

Example:

The coin is                    ONT
If the price is                0.001 BTC
The order size is              0.002 BTC
Bot has                        100 ONT
The buy/sell threshold is      1%
The number of sell orders is   2
First sell order on            0.001001 BTC
The order size is              0.002 BTC / 0.001001 BTC = 1.998 ONT
Bot places a sell order on     0.001001 for 1.998 ONT
The second sell order is on    0.001002 BTC
The order size is              0.002 BTC / 0.001002 BTC = 1.996 ONT
Bot places a sell order on     0.001002 for 1.996 ONT

The order size needs to be higher than the exchange minimum trade amount/volume.

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 the 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 bot 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

The 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 a 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 known 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.

PreviousAccumulation BotNextC# Script Bot

Last updated 4 years ago

Was this helpful?