Building Multi-Asset Order Buttons in FMZ Strategy Status Bars
Summary
This tutorial explains how to add configurable order buttons to an FMZ strategy’s status bar for multiple perpetual futures markets. Each row in a status table can display a button tied to that row’s trading symbol, so a user can open a form with order settings such as direction, order type, price, and quantity. The example shows how to assemble button definitions from a reusable template and process the submitted interaction message in the strategy.
The article describes UI controls for required fields, grouped settings, conditional visibility, and alternate rendering such as a segment selector. It illustrates these features with a market-versus-limit order form, where price is shown only for limit orders. The evidence is a platform example and accompanying interface screenshots; it does not evaluate execution quality, trading performance, or safeguards for real orders. The material focuses on interface construction and interaction handling, and introduces only a small portion of the platform’s UI capabilities.
Key ideas
- A status bar table can provide a separate configurable order button for each trading symbol.
- Button templates can be extended with row-specific information such as the symbol.
- Pop-up controls can be grouped and marked as required, and filters can conditionally hide fields.
- The strategy receives button inputs as a command with serialized settings that it can parse and handle.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.