LogoLogo
Back to HaasOnline.comSwitch to Developer API
4.x
4.x
  • Welcome
  • TradeServer Cloud
    • Overview
    • Security
    • Troubleshooting
  • TradeServer Enterprise
    • Overview
    • Updates
    • Security
    • Installation
      • Windows
      • MacOS
      • Linux
    • Configuration
      • License Key
      • Login credentials
      • Hosting
        • Linux VPS Hosting
    • Special features
      • Price history
      • Backups
      • Machine Learning
        • Built-in Machine Learning
        • Custom Machine Learning
      • Scripted Exchange API (Coming Soon)
      • Local API (Coming Soon)
    • Troubleshooting
  • Interface
    • General Interface
      • Left Menu
      • Upper Right Items
        • Account data
        • Execute trade
        • AI Chatbots
          • Chatbot Julia
          • Chatbot David
          • Chatbot Thomas
        • Notifications
        • Menu
          • Exchange accounts
          • Settings
          • License information
          • Change Logs
          • Logout
      • Status bar
        • Price tickers
    • Dashboard
    • Bots
      • Bot management
      • Bot templates
    • HaasScript
      • Web Editor
      • Backtest Lab
        • Lab test setup
      • Backtest History
      • Manage Scripts
      • Manage Signals
    • Tools
      • Marketview
      • Market intelligence
      • Exchange profiler
      • Markets explorer
      • News
    • Finance
      • Portfolio
      • External Wallet
  • Haasscript
    • About
      • Change Log
    • Tutorials
      • Bot building
        • Trade-bot building
        • Visual bot building
        • Scripted bot building
      • Usage
        • HaasScript
          • Interval
          • Markets
          • Input Fields
          • Memory Management
          • Signal Handling
          • Position Information
          • Positions Handling
            • Fee correction
          • Order Handling
          • Trading
          • Charting
          • Optimizations
        • Visual Editor
          • Blocks
          • Parameters
          • Flow Control
          • Interaction
        • Script Editor
          • Classes
        • Managed Trading
        • Unmanaged Trading
    • Commands
      • Trade Bots
        • TradeBot Containers
        • Easy Indicators
        • Easy Safeties
        • Easy Insurances
      • Helpers
        • Array Helpers
        • Custom Command Helpers
        • Enumerations
        • Equations
        • Mathematical
        • Memory Helpers
        • Signal Helpers
        • String Helpers
        • Miscellaneous
        • Technical Analysis Helpers
      • Input data
        • Bot Settings
        • Input fields
        • Price Market Information
        • Script Settings
        • Time Information
        • Trade Market Information
      • Prices
      • Technical Analysis
      • Charting
      • Trading
        • Managed Trade Commands
        • Unmanaged Trade Commands
        • Order Information
        • Order Handeling
        • Position Information
        • Position Price Information
        • Profit Information
        • Wallet Information
      • Social Media
    • Built-in Bots
      • Version 3 bots
        • C# Scripted Bot
        • Email bot
        • Trendline Bot
        • Triangle Arbitrage Bot
      • Accumulation Bot
      • Enhanced RSI bot
      • FlashCrash (Grid) Bot
      • Crypto Index Bot
      • Intellibot Alice
      • Inter Exchange Arbitrage Bot
      • MadHatter Bot
      • Market Making Bot
      • Order Bot
      • PingPong Bot
      • Scalper bot
      • Zone-Recovery Bot
    • Community Bots
      • Simple Grid Bot (SPOT)
      • Simple Grid Bot (FUTURES)
      • Simple Market Maker (SPOT)
      • Simple Market Maker (FUTURES)
  • Usage
    • First Usage
    • Setup Exchange
      • Adding an API to the Platform
      • Binance
      • Binance US
      • Bit2me
      • Bitfinex
      • Bitget
      • BitMEX
      • ❌Bitpanda
      • Bitstamp
      • ❌Bittrex
      • Bybit
      • ❌Cex.IO (Legacy API)
      • ❌Coinbase
      • ❌Crypto.com
      • Deribit
      • Gemini
      • Gleec
      • ❌HitBTC
      • Huobi
      • ❌Ionomy
      • Kraken
      • Kraken Futures
      • KuCoin
      • KuCoin Futures
      • LBank
      • ❌OKCoin
      • OKX
      • OKX-Futures
      • OKX-Swap
      • Phemex
      • Poloniex
      • Poloniex Futures
      • WooX
    • Setup Telegram Notification Bot
    • Setup Discord Notification Bot
    • Use Signals
  • Other Resources
    • YouTube
    • Guides & Tutorials
    • Questions & Answers
    • Community Projects
  • Need Help?
    • Ask on Discord
    • Submit Support Ticket
Powered by GitBook
On this page
  • Layout
  • General Settings
  • Trade Settings
  • Script Settings
  • Web-Editor Toolbar
  • Logs and Chart

Was this helpful?

  1. Interface
  2. HaasScript

Web Editor

The TradeServer Web Editor is a powerful tool that allows you to create, edit and backtest trading scripts. Here are some guidelines on how to use the Web Editor effectively

Layout

The Web Editor has a default page layout with three columns. The left column displays the General Settings and Trade Settings sections, while the center column displays the HaasScript web-editor with its toolbar on top. The right column displays the Logs and Chart sections.

General Settings

In the left column, you can find the General Settings section, which allows you to set up your account and market for testing. Use the Account selection box to select the account you want to use for testing, and use the Market selection box to select the market you want to test your script on.

Trade Settings

The left column also contains the Trade Settings section, which allows you to set up your trade amount, order type, and price data interval and style. Use the Trade amount field to specify the amount you want to trade, and use the Order type selection box to select the type of order you want to use. The Price data interval and style selection boxes control the appearance of the price chart.

Script Settings

In the left column, you can also find the Script Settings section, which displays input fields for your script. This section allows you to set up your script according to your requirements.

Web-Editor Toolbar

The center column displays the HaasScript web-editor, which contains a toolbar on top. Here are the functions of each icon on the toolbar:

  • Add: Allows you to create a new script by entering the name of the script you want to create.

  • Open: Allows you to open an existing script.

  • Save: Allows you to save your script.

  • Clone: Allows you to make a copy of your script.

  • Debug: Allows you to build your script and receive feedback in the Log section.

  • Run: Allows you to build and do a short backtest of your script.

  • Backtest: Allows you to define the length of the backtest.

  • Copy: Allows you to create a backup of your script.

  • List: Shows a list of all the backups you have created, and allows you to restore a backup.

  • Delete: Allows you to delete your script.

  • Download: Allows you to download your script as a text file.

  • Upload: Allows you to import your script.

  • Bot: Allows you to save your script and create a bot out of it.

  • Share: Allows you to share your script publicly or privately.

Logs and Chart

The right column displays the Logs and Chart sections. The Logs section displays the logbook generated by the script, while the Chart section displays the chart generated by the script.

Unarchived backtests will be deleted after 48-hours

PreviousHaasScriptNextBacktest Lab

Last updated 2 years ago

Was this helpful?