Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>PRIORNew to Visual Studio Code? Get it now.
PRIOR

PRIOR

AutoQuant

| (0) | Free
Language support for PRIOR trading strategies: syntax highlighting, completions, hovers, diagnostics, and formatting.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

PRIOR for Visual Studio Code

Language support for PRIOR, the tiny declarative language for trading strategies.

when $NVDA at [lower_bollinger std=1]
  buy [5% portfolio]

sell when $NVDA at [middle_bollinger]
  or [stop 1.5%]
  or [after 5 bars]

Features

  • Syntax highlighting for .prior files — keywords, tags, tickers, spreads, timeframes
  • Completions for the full tag vocabulary, with parameter placeholders and per-tag docs
  • Hovers — what [lower_bollinger] actually expands to, every parameter and default, prebuilt universe contents
  • Diagnostics as you type — the real compiler's errors, line-precise, with did-you-mean suggestions
  • Formatting — prior fmt as the document formatter (canonical statement order and spacing)
  • Snippets — strategy-meanreversion, strategy-momentum, strategy-wheel, strategy-pairs, strategy-mixed

Requirements

Highlighting, completions, and hovers work out of the box. Diagnostics and formatting shell out to the prior CLI so the editor reports exactly what the compiler will say:

pip install prior-lang

If prior isn't on your PATH, the extension falls back to python3 -m prior_lang.cli, or set prior.command in settings.

Settings

Setting Default Description
prior.command prior Command for the prior CLI
prior.validateOnType true Validate as you type (debounced); off = validate on save only

Learn more

  • Language specification
  • Tag reference
  • Guides and tutorials

PRIOR is built and stewarded by AutoQuant.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft