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 GetRobotList method is used to get the list of live trading bots under the FMZ Quant Trading Platform account corresponding to the API KEY in the request.

Returns

json
{ "code": 0, "data": { "result": { "all": 1, "concurrent": 0, "robots": [{ "charge_time": 1731654846, "date": "2024-11-12 14:05:29", "end_time": "2024-11-15 14:56:32", "fixed_id": 4509153, "id": 591026, "is_sandbox": 0, "name": "Test", "node_guid": "45891bcf3d57f99b08a43dff76ee1ea1", "node_id": 4519153, "node_public": 0, "profit": 0, "public": 0, "refresh": 1731651257000, "start_time": "2024-11-15 14:56:30", "status": 3, "strategy_id": 411670, "strategy_isowner": true, "strategy_language": 0, "strategy_name": "Test", "strategy_public": 0, "uid": "105ed6e511cc977921610fdbb7e2a1d6", "wd": 0 }] }, "error": null } }
  • robots: Live trading bot information
    • group_id: Live trading bot group ID; if the live trading bot is in the default group, the group_id field is not included.

Arguments

NameTypeRequiredDescription

offset

number

No

Offset setting for pagination query.

length

number

No

Data length setting for pagination query.

robotStatus

number

No

Specify the status of live trading bots to query, refer to Extended API Interface "Live Trading Status Codes", pass -1 to get all live trading bots.

label

string

No

Specify the custom label of live trading bots to query, can filter all live trading bots containing this label.

keyWord

string

No

Query keyword.

Remarks

Taking the Extended API Interface "Authentication Method" in Python language as an example:

print(api('GetRobotList')): Get all live trading bot information.

print(api('GetRobotList', 'member2')): Print all live trading bot information with custom label member2.

print(api('GetRobotList', 0, 5, -1, 'member2')): Pagination query, starting from offset 0, returning at most 5 live trading bots with label member2.