Skip to content

Command Reference

The HaasScript reference is auto-generated from the HaasScript source code. It covers all available functions and enumerations organized into 6 domains.

Domain Description
Technical Analysis Indicators, oscillators, and pattern recognition
Trading & Positions Managed/unmanaged trading, orders, positions, safeties, insurances
Data & Prices Price data, market information, wallets, time
Helpers & Utilities Arrays, math, memory, strings, equations, flow control
Constants Colors, order types, signals, MA types, etc.
Advanced Features Input fields, charting, custom commands, settings

See the Overview for a high-level guide including the type system, execution model, and common patterns.

Regenerating these docs

These pages are auto-generated. To update them, run the generator in the HaasCloud-dot-net repo, then sync:

cd ../HaasCloud-dot-net
dotnet run --project Source/Tools/HaasScriptDocGenerator
cd ../help-docs
./scripts/sync-reference-docs.sh