Type/to search
Welcome to FMZ Quant Trading Platform
Programming Languages
JavaScript
TypeScript
Python
C++
MyLanguage
PINE Language
Blockly Visual Programming
Workflow
Key Security
Live Trading
Strategy Library
Docker
Deploy Docker
One-Click Docker Rental
Manual Deployment of Bot
Docker Operation Precautions
Global IP Address Specification
Command Line Parameters for Bot Program
Live Trading Data Migration
Docker Monitor
Exchange
Strategy Editor
Backtesting System
Strategy Entry Functions
Strategy Framework and API Functions
Template Library
Strategy Parameters
Interactive Controls
Options Trading
C++ Strategy Writing Guide
JavaScript Strategy Writing Guide
Web3
Built-in Libraries
Extended API Interface
MCP Service
Trading Terminal
Data Explorer
Alpha Factor Analysis Tool
General Protocol
Debugging Tool
Remote Editing
Import and Export of Complete Strategies
Multi-language Support
Live Trading and Strategy Grouping
Live Trading Display
Strategy Sharing and Renting
Live Trading Message Push
Common Causes of Live Trading Errors and Abnormal Exits
Exchange-Specific Notes

The analysis formulas reference the market calculation methods from worldquant's publicly available 101%20Formulaic%20Alphas.pdfalpha101, with basic compatibility for its syntax (unimplemented features are noted), and have been enhanced. This tool is used for rapid time series computation and validation of trading ideas. Alpha Factor Analysis Tool Page.

The "{}" below represents placeholders, all expressions are case-insensitive, x represents data time series

  • abs(x), log(x), sign(x) Literal meaning, respectively absolute value, logarithm, sign function.

The following operators +, -, *, /, >, < also conform to their standard meanings, ==: equality check, ||: logical OR, x ? y : z: ternary conditional operator.

  • rank(x) : Cross-sectional ranking, returns percentile position. Requires specifying candidate universe pool, cannot be calculated for single ticker and will return raw result directly.
  • delay(x, d) : Returns the value of series x from d periods ago.
  • sma(x, d) : Calculates the simple moving average of series x over d periods.
  • correlation(x, y, d): Calculates the correlation coefficient between time series x and y over the past d periods.
  • covariance(x, y, d) : Calculates the covariance between time series x and y over the past d periods.
  • scale(x, a) : Normalizes data such that sum(abs(x))=a (a defaults to 1).
  • delta(x, d) : Calculates the current value of time series x minus the value from d periods ago.
  • signedpower(x, a) : x^a.
  • decay_linear(x, d) : Calculates the d-period weighted moving average of time series x, with weights d,d-1,d-2....1 (normalized).
  • indneutralize(x, g) : Industry neutralization based on industry classification g, currently not supported.
  • ts_{O}(x, d) : Performs operation O on the past d periods of time series x (O can specifically represent min, max, etc., see below), d will be converted to integer.
  • ts_min(x, d) : Minimum value over the past d periods.
  • ts_max(x, d) : Maximum value over the past d periods.
  • ts_argmax(x, d) : Position of ts_max(x, d).
  • ts_argmin(x, d) : Position of ts_min(x, d).
  • ts_rank(x, d) : Ranking of time series x over the past d periods (percentile ranking).
  • min(x, d) : ts_min(x, d).
  • max(x, d): ts_max(x, d).
  • sum(x, d) : Cumulative sum over the past d periods.
  • product(x, d) : Cumulative product over the past d periods.
  • stddev(x, d) : Standard deviation over the past d periods.

Input data is case-insensitive. Default data is the instrument selected on the webpage, but can also be specified directly, for example: binance.ada_bnb

  • returns: Close price returns.
  • open, close, high, low, volume: Open price, close price, high price, low price and volume within the period.
  • vwap: Volume-weighted average price (not yet implemented, currently using close price).
  • cap: Total market capitalization (not yet implemented).
  • IndClass: Industry classification (not yet implemented).

Supports outputting multiple results at once, represented as a list. For example, [sma(close, 10), sma(high, 30)] will plot two lines on the chart. Besides inputting time series data, it can also be used as a simple calculator.