FactorLang is a specialized expression language designed for building and executing quantitative trading factors and strategy logic.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install factorlang-expression
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install factorlang-expression using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
FactorLang is a robust domain-specific language (DSL) tailored for the financial sector, specifically for quantitative analysis and algorithmic trading. It allows developers and traders to define complex market conditions, technical indicators, and risk management rules using a concise syntax. By providing a structured way to reference market data and technical signals across various timeframes, FactorLang empowers users to bridge the gap between financial theory and automated execution.
This skill provides the comprehensive specification for FactorLang v2.2, serving as a technical bridge for AI agents to generate syntactically correct and logically sound trading expressions. It encompasses a vast library of built-in variables, statistical functions, and logical operators essential for modern strategy backtesting and live trading deployments within the Openclaw Skills ecosystem.
To utilize FactorLang expressions within your development environment, ensure your AI agent has access to the Openclaw Skills configuration. No local installation of the language is required as it is interpreted by the target trading engine.
# Example of how an agent might trigger a FactorLang expression via MCP
mcp_call factorlang-engine run_expression --openCondition "_close_5m > _ma_1d_30"
FactorLang organizes data through a strict naming convention for variables and function signatures to ensure cross-compatibility.
| Category | Format | Description |
|---|---|---|
| Market Data | _{type}_{period} |
Basic price/volume data (e.g., _close_1d) |
| Indicators | _{name}_{period}_{param} |
Technical studies (e.g., _ma_1d_30) |
| PnL Tracking | _palp / _palr |
Profit/Loss in points or ratios |
1m, 5m15m, 30m, 60m1d, 1w, 1monLoading
A standardized automation toolset for the development, testing, and deployment of Openclaw Skills.

A local-first plugin that automatically injects relevant skills and protocols into agent context using vector similarity.

A comprehensive engineering framework for React and TypeScript projects that enforces industry-standard directory structures, component design, and state management.

A powerful AI image generation tool that transforms text descriptions into high-quality selfie art, cinematic portraits, and stylized illustrations via the Neta API.

Dating App Coach is an AI-powered strategist designed to optimize dating profiles and conversation workflows for maximum match-to-date conversion.

An AI-powered I Ching divination tool utilizing the Mei Hua Yi Shu algorithm for precise hexagram generation and interpretation.








































