Skip to content

Creating Bots

Creating a trading bot in HaasOnline TradeServer Cloud is easy with our three-path approach. Whether you want to pick a curated strategy, clone a configuration template, or browse the full script library, we've got you covered.

Bot configuration workflow: build a bot, then backtest, paper trade, and go live.

Getting Started

To create a new bot, click "Create Bot" in the left sidebar.

Create Bot link in the Bots group of the left sidebar

The Create a Trading Bot page has three tabs, one for each way to create a bot:

Create a Trading Bot page header with the Strategies, Templates and All Scripts tabs

  • Strategies: curated bot types, each explained, that pick the right script for you
  • Templates: pre-configured bots you clone with their settings and market
  • All Scripts: every built-in, custom, and community script

Choose from curated bot types. Each bot type automatically uses the correct script.

Steps

  1. Open the Strategies tab (it opens by default)
  2. Filter the strategies by difficulty with the All, Beginner, Intermediate and Advanced buttons, and switch between Cards and List at the top right
  3. Click a strategy card to open its details: how it works, what it is suitable for, and its risk level
  4. Click "Create [strategy name]" (for example "Create DCA Bot")
  5. In the configuration modal:
  6. Name: Enter a name (a suggestion such as "My DCA Bot #1" is filled in)
  7. Account: Select your exchange account
  8. Market: Choose your trading pair
  9. Click "Save" to create your bot

Strategies tab with the strategy cards and the difficulty filter

Strategy details for the DCA Bot with the Create DCA Bot button

Create DCA Bot modal with Name, Account and Market fields

Available Strategies

Beginner

DCA Bot
  • Description: Dollar-Cost Averaging bot that buys at regular intervals regardless of price
  • Best for: Long-term accumulation, minimizing impact of volatility
  • Market conditions: Volatile markets, long-term accumulation
  • Script: Haasonline Original - Dollar Cost Average Bot
WaveRunner Bot
  • Description: Automated spread capture on choppy spot markets with a self-adjusting grid
  • Best for: Capturing the spread on repeated buy-sell pairs
  • Market conditions: Choppy/sideways spot markets
  • Script: Haasonline Original - WaveRunner
  • Note: Spot only
Grid Bot (Spot)
  • Description: Buys low and sells high within a price range
  • Best for: Capturing value from market oscillations
  • Market conditions: Sideways/consolidating markets
  • Script: Haasonline Original - Grid Bot (Spot)
Order Bot
  • Description: Executes predefined order strategies
  • Best for: Systematic scaling in or out of positions
  • Market conditions: Any market condition
  • Script: Haasonline Original - Order Bot
Ping Pong Bot
  • Description: Buys low, sells high, then buys even lower
  • Best for: Scalping in trending markets
  • Market conditions: Strong trending markets
  • Script: Haasonline Original - Ping Pong Bot

Intermediate

Grid Bot (Futures)
  • Description: Leveraged grid trading for futures markets
  • Best for: Profiting from ranging markets with leverage
  • Market conditions: Sideways/consolidating futures markets
  • Script: Haasonline Original - Grid Bot (Futures)
  • ⚠️ Note: Higher risk due to leverage
Advanced Crypto Index Bot
  • Description: Tracks multiple cryptocurrencies with weighted allocation
  • Best for: Diversified portfolio management
  • Market conditions: Any market
  • Script: Haasonline Original - Advanced Index Bot
Flash Crash Bot
  • Description: Automatically buys during sudden price drops
  • Best for: Capturing value during market panic
  • Market conditions: High volatility, flash crashes
  • Script: Haasonline Original - Flash Crash Bot
Market Making Bot
  • Description: Provides liquidity by placing bid and ask orders
  • Best for: Earning spreads in liquid markets
  • Market conditions: High liquidity markets
  • Script: Haasonline Original - Market Making Bot
Scalper Bot
  • Description: Executes small trades based on minor price movements
  • Best for: High-frequency trading
  • Market conditions: Liquid markets with frequent price changes
  • Script: Haasonline Original - Scalper Bot
Inter Exchange Arbitrage Bot
  • Description: Trades on price differences between exchanges
  • Best for: Capturing cross-exchange inefficiencies
  • Market conditions: Cross-exchange price discrepancies
  • Script: Haasonline Original - Inter Exchange Arbitrage Bot
  • ⚠️ Note: Requires accounts on multiple exchanges

Advanced

Zone Recovery Bot
  • Description: Advanced risk management for leveraged positions
  • Best for: Recovering from losing positions
  • Market conditions: Ranging markets, position recovery
  • Script: Haasonline Original - Zone Recovery Bot
  • ⚠️ Note: High risk, high complexity. Requires deep understanding of leverage.

For beginners, we recommend starting with:

  1. DCA Bot - Simple and effective for long-term accumulation
  2. Grid Bot (Spot) - Great for learning how grid strategies work
  3. Order Bot - Perfect for planned entry/exit strategies

Strategy Disclaimer

Strategy Disclaimer

These bot types are provided as execution frameworks, not trading recommendations. Each bot type represents a technical implementation pattern. Users must independently configure, test, and validate all parameters before deployment. This does not constitute investment advice or an endorsed strategy. You are solely responsible for all trading decisions and outcomes.


Method 2: Templates

The fastest way to get started. Clone a pre-configured bot template.

Jurisdictional Restrictions

Templates are not available to US persons. If you are in a restricted jurisdiction, this feature will not be accessible.

Steps

  1. Open the Templates tab
  2. Switch between Spot Templates and Futures Templates, then browse the list of configuration templates:
  3. Bot name
  4. Script
  5. Market
  6. Runtime
  7. ROI
  8. Click the bot name or the clone icon for your chosen template
  9. In the Copy bot template modal:
  10. Name: Customize the name (or use the default)
  11. Account: Select which exchange account to use
  12. Market: Choose the trading pair (pre-selected if available)
  13. Notes: Read the template description (read-only)
  14. Click "Save" to create your bot

Templates tab with the Spot Templates list

Copy bot template modal with Name, Account, Market and Notes

About Configuration Templates

Configuration Template

This is a configuration template that demonstrates one possible implementation. It is not a recommended strategy or optimal configuration. Users must customize all parameters, test thoroughly, and validate suitability for their own trading objectives and risk tolerance.

When to Use Templates

✅ Best for: Users who want to start trading quickly with example configurations ✅ Advantage: Pre-configured settings to demonstrate typical implementations ✅ Note: You can modify the bot's settings after creation

Learn more about Bot Templates


Method 3: All Scripts

For experienced users who want full control over script selection. Browse the complete HaasScript library.

Steps

  1. Open the All Scripts tab
  2. Browse scripts using the script browser:
  3. All: View all available scripts
  4. Favorites: Your starred scripts
  5. Built-in: Official Haasonline scripts
  6. Custom: Scripts you've created
  7. HaasScript.com: Community scripts
  8. Use the Search script field to find specific scripts
  9. Click any script to select it
  10. In the configuration modal:
  11. Name: Enter a name
  12. Account: Select your account
  13. Market: Choose your trading pair
  14. Notes: Review the script description (read-only)
  15. Click "Save" to create your bot

All Scripts tab with the Built-in scripts listed

Create Bot modal for the Haasonline Original - MadHatter Bot script

When to Use All Scripts

✅ Best for: Users who want to use specific custom scripts or experimental strategies ✅ Advantage: Access to the complete script library ✅ Note: Requires understanding of HaasScript and bot configuration

Learn more about HaasScript


After Creating Your Bot

Once your bot is created, you'll be taken to the Bot Setup page where you can:

  • Configure strategy-specific settings
  • Set position sizing and risk management
  • Enable safety features (stop loss, take profit)
  • Start or stop your bot
  • View logs and performance metrics

Bot page with the Bot, Script and Profit panels, the trade chart, and the Positions and Orders tables

Good Practices

  • Start with a simulated account to test your bot
  • Use proper risk management (position sizing, stop loss)
  • Monitor performance regularly
  • Backtest your strategy before going live

Bot Management Documentation


Alternative Method: Bot Management

You can also create bots from the Bot Management page by clicking the floating "+" button. This uses the traditional two-step flow (enter details, then select script).

Bot Management Documentation


Next Steps