> ## Documentation Index
> Fetch the complete documentation index at: https://quantmeric.manicule.dev/llms.txt
> Use this file to discover all available pages before exploring further.
> For every page in one file, fetch https://quantmeric.manicule.dev/llms-full.txt (large).
> To search and read these docs as tools, connect the MCP server at https://quantmeric.manicule.dev/api/mcp.
> Every agent surface: https://quantmeric.manicule.dev/.well-known/llms-manifest.json

# QM Language Basics (/documentation/build-with-qm/qm-language-basics)

<!-- agent-signals: reading_time_min: 1 · est_tokens: 197 · updated: 2026-12-03 -->
Related: [Visual Builder Guide](/documentation/build-with-qm/visual-builder-guide.md), [Algorithms, Analytics and Automations](/documentation/build-with-qm/algorithms-analytics-and-automations.md), [Build Your First Project](/documentation/get-started/build-your-first-project.md)

## Use QM to define financial logic

QM is Quantmeric’s domain-specific programming language for building software tailored to a financial instrument. Write QM when you want to express the logic of a financial algorithm or model in code. Visual design is the alternative when you want to define that logic without writing QM. Both approaches are part of the same platform for building, testing, and deploying financial software.

## Read the homepage example

The [Quantmeric homepage](https://quantmeric.live/) displays `>qm:return volumedat()`. The line starts with `>qm:`. After the colon, `return` is followed by a space and the name `volumedat` with empty parentheses. The line illustrates what QM looks like; it does not specify which characters to type or what result to expect.
