Skip to content
All library documents

Designing FMZ Position Monitoring for Synchronous Futures Orders

Article FMZ forum · Author: Ninabadass

Summary

This article outlines a two-part FMZ design for forwarding futures position changes from a reference account to one or more synchronizing accounts. A template library runs inside the reference strategy, records initial long and short position amounts, checks for changes, and sends a message with the symbol, contract, direction, and size through FMZ’s extended API. The synchronizing account runs a separate server bot that receives and prints those messages; the article proposes adding automatic order execution in a later installment.

The design aims to let the synchronizing account owner avoid sharing their exchange API credentials with the reference account owner, and to let existing strategies add position monitoring without being merged into a standalone monitoring bot. The example supports futures positions, configures up to five recipients by default, and includes a simulated trading walkthrough showing a sample signal arriving. It is an architectural sketch rather than a complete copier: the receiving bot shown does not place trades, and the article does not assess reliability, security practices, sizing differences, or failure handling.

Key ideas

  • A template library can monitor changes in long and short futures positions inside an existing reference strategy.
  • The library sends position changes to synchronizing bots through FMZ’s extended API.
  • A recipient configuration pairs an account label and bot identifier with extended API credentials.
  • The demonstrated server receives and logs signals but does not yet execute orders.
  • The example is limited to futures monitoring and leaves operational failure handling unexamined.

Tags

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