Skip to content
All library documents

Building Trading Strategies with Visual Programming Blocks

Article FMZ digest · Author: 发明者量化-小小梦

Summary

This introduction explains how FMZ’s visual editor assembles trading logic from connected blocks. It covers snapping blocks together, configuring inputs, using defaults, copying and arranging modules, and saving a strategy. The examples show utility blocks for logging, notifications, exceptions, pauses, return tracking, loops, precision handling, and clearing logs, along with modules that read market, candle, order book, account, order, and position data.

The document demonstrates simple workflows by describing how to print a ticker price, inspect a candle or account field, and retrieve an order book entry. It closes with a positive arbitrage hedge example that shorts a deferred futures contract and buys a nearer one. These are platform usage examples rather than evidence of strategy performance. The material is an introductory tour, and it does not explain the hedge’s entry criteria, sizing, costs, or risk controls; readers need further documentation to develop and validate a complete strategy.

Key ideas

  • Visual strategies are built by connecting blocks whose shapes indicate compatible inputs and outputs.
  • Modules can use default inputs or accept values and variables from other blocks.
  • Utility blocks support logging, looping, timing, error handling, and numerical precision.
  • Market and account data blocks need to be combined with modules that fetch the corresponding data.
  • The document gives a basic futures hedge example but does not analyze its risks or performance.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.