📰 Latest: HaasOnline Academy Is Back — Structured Education for Smarter Trade Bots
Account
Intermediate

HaasScript Fundamentals

Learn the basics of developing, debugging, and deploying projects using HaasScript that have near limitless possibilities.

38 lessons 10 modules
2

Variables

In HaasScript, variables are used to store data and represent values that can change during the execution of a script.

2 lessons
  1. 1 Using variables
  2. 2 Immutable vs Mutable
3

Operators

Operators in HaasScript are symbols that perform specific operations on operands, such as variables or values.

3 lessons
  1. 1 Operators and concatenating strings
  2. 2 Deeper dive into Relational Operators
  3. 3 Deeper dive into Logical Operators
4

Strings

Strings are a data type that represents sequences of characters. They are used to store and manipulate text.

3 lessons
  1. 1 Built-in text-manipulation commands
  2. 2 LUA's text-manipulation methods
  3. 3 String.match (regex)
7

Intervals

Intervals refer to the time periods used for gathering and analyzing market data, such as historical price data.

2 lessons
  1. 1 Timing HaasScripts
  2. 2 Intervals vs timers
9

Debugging and Troubleshooting

Debugging and troubleshooting trading scripts is crucial for ensuring the reliability and effectiveness of your trading strategies.

2 lessons
  1. 1 Logging
  2. 2 Testing for nil/empty