Managing Multiple Live Trading Bots with FMZ’s Extended API
Summary
This document explains how to use FMZ’s extended API to monitor and control many live trading bots from a central strategy. Its example retrieves robot records in paginated batches, filters them by strategy and status, and displays bot identifiers, names, status, strategy name, and profit in a table. It also describes sending commands to running bots, such as a request to close positions, through the API’s command function.
The proposed workflow can simplify oversight and reduce repetitive manual actions when managing multiple accounts. The examples include retry handling and a short delay between API calls to limit request frequency. The article also mentions batch parameter changes and starting or stopping bots as possible extensions, but defers their implementation to a later article. It gives no performance measurements or detailed safeguards for validating commands, handling partial failures, or managing API credentials, so operational reliability and risk controls would require additional consideration.
Key ideas
- The extended API can retrieve and filter lists of live bots for centralized monitoring.
- Pagination lets the example gather bot records in batches and display selected account information.
- The API command function can send an instruction to each eligible running bot.
- The example includes retries and delays, but does not detail broader failure handling or credential security.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.