Batch Updating Trading Bot Parameters Through a Platform API
Summary
This tutorial explains how to use a trading platform’s extended API to change parameters across multiple stopped bots. It first filters bots by strategy and stopped or error status, then retrieves each bot’s detailed configuration. Because restarting with new settings requires the complete configuration, the example preserves the existing exchange objects, trading pairs, time period, node, and bot name while replacing selected strategy arguments before calling the restart operation. The article also distinguishes restarting an existing bot from creating a new one when no bot exists yet.
The example illustrates a uniform parameter update and notes that custom rules could assign different values to different bots. Its evidence is a walkthrough of configuration data and a claimed successful update on sample bots; it reports no trading performance. The method applies to the platform’s API and depends on correct credentials, status filtering, argument formats, and reconstruction of all required settings. Bulk changes can restart many instances with altered behavior, so the proposed workflow should be adapted and checked against the platform’s current API requirements.
Key ideas
- Only stopped bots can have their configuration changed through the described restart workflow.
- Retrieve each bot’s current details before rebuilding the complete configuration for restart.
- Preserve exchange, pair, period, and other settings that are not meant to change.
- Replace selected strategy arguments, then restart each eligible bot with the reconstructed settings.
- The example demonstrates configuration changes, not trading performance or operational reliability at scale.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.