Type/to search
Welcome to FMZ Quant Trading Platform
Programming Languages
JavaScript
TypeScript
Python
C++
MyLanguage
PINE Language
Blockly Visual Programming
Workflow
Key Security
Live Trading
Strategy Library
Docker
Deploy Docker
One-Click Docker Rental
Manual Deployment of Bot
Docker Operation Precautions
Global IP Address Specification
Command Line Parameters for Bot Program
Live Trading Data Migration
Docker Monitor
Exchange
Strategy Editor
Backtesting System
Strategy Entry Functions
Strategy Framework and API Functions
Template Library
Strategy Parameters
Interactive Controls
Options Trading
C++ Strategy Writing Guide
JavaScript Strategy Writing Guide
Web3
Built-in Libraries
Extended API Interface
MCP Service
Trading Terminal
Data Explorer
Alpha Factor Analysis Tool
General Protocol
Debugging Tool
Remote Editing
Import and Export of Complete Strategies
Multi-language Support
Live Trading and Strategy Grouping
Live Trading Display
Strategy Sharing and Renting
Live Trading Message Push
Common Causes of Live Trading Errors and Abnormal Exits
Exchange-Specific Notes

The DeleteRobot method is used to delete a live trading bot under the FMZ Quant Trading Platform account corresponding to the API KEY in the request. The deleted bot ID is specified by the robotId parameter.

Returns

json
{ "code":0, "data":{ "result":0, "error":null } }
  • result: Feedback result of the bot deletion operation.
    • 0: Normal deletion.
    • -2: Deletion successful, but unable to contact the docker associated with the bot, please manually delete the file 123.db3!

Arguments

NameTypeRequiredDescription

robotId

number

Yes

The robotId parameter is used to specify the ID of the live trading bot to be deleted. You can use the GetRobotList method to get information about bots under the account, which includes the bot ID.

deleteLogs

bool

Yes

The deleteLogs parameter is used to set whether to delete the bot logs. If a truthy value is passed (e.g., true), the bot logs will be deleted.