forked from nique_372/AiDataTaskRuner
174 lines
5.5 KiB
JSON
174 lines
5.5 KiB
JSON
{
|
|
"tools": [
|
|
{
|
|
"name": "aidatataskrunner_add_task",
|
|
"description": "Adds a new backtest task to the AiDataTaskRunner table",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"symbol": {
|
|
"type": "string",
|
|
"description": "Trading symbol e.g. EURUSD, XAUUSD"
|
|
},
|
|
"start_date": {
|
|
"type": "string",
|
|
"description": "Start date in format YYYY.MM.DD HH:MM"
|
|
},
|
|
"end_date": {
|
|
"type": "string",
|
|
"description": "End date in format YYYY.MM.DD HH:MM"
|
|
},
|
|
"timeframe": {
|
|
"type": "string",
|
|
"description": "Timeframe of the backtest in MT5 ENUM_TIMEFRAMES format, example: PERIOD_M1, PERIOD_M5, etc..."
|
|
},
|
|
"set_file": {
|
|
"type": "string",
|
|
"description": "Optional .set file path for the EA parameters"
|
|
},
|
|
"symbol_folder": {
|
|
"type": "string",
|
|
"description": "Optional subfolder name for grouping generated data e.g. XAUUSD or NAS100"
|
|
},
|
|
"label": {
|
|
"type": "string",
|
|
"description": "Optional strategy name used as folder prefix e.g. LiqSweep or BosChoch"
|
|
},
|
|
"label_id": {
|
|
"type": "string",
|
|
"description": "Optional variant ID for the label, used to differentiate multiple models of the same strategy e.g. 0, 1, 2. Defaults to 0"
|
|
}
|
|
},
|
|
"required": ["symbol", "start_date", "end_date"]
|
|
}
|
|
},
|
|
{
|
|
"name": "aidatataskrunner_save_tasks_to_file",
|
|
"description": "Saves all tasks to a CSV file. Can filter to save only unfinished tasks (pending, queued or in process)",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"file_name": {
|
|
"type": "string",
|
|
"description": "Absolute path inside MT5 Files\\ or Common\\Files\\, and file extension is .csv"
|
|
},
|
|
"only_unfinished": {
|
|
"type": "boolean",
|
|
"description": "If true saves only pending queued or in-process tasks. If false saves all tasks including finished and failed ones"
|
|
}
|
|
},
|
|
"required": ["file_name", "only_unfinished"]
|
|
}
|
|
},
|
|
{
|
|
"name": "aidatataskrunner_load_tasks_from_file",
|
|
"description": "Loads tasks from a CSV file into the table",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"file_name": {
|
|
"type": "string",
|
|
"description": "Absolute path inside MT5 Files\\ or Common\\Files\\, and file extension is .csv"
|
|
}
|
|
},
|
|
"required": ["file_name"]
|
|
}
|
|
},
|
|
{
|
|
"name": "aidatataskrunner_get_task_total",
|
|
"description": "Returns the total number of tasks in the table",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": []
|
|
}
|
|
},
|
|
{
|
|
"name": "aidatataskrunner_get_task_by_index",
|
|
"description": "Returns the details of a task by its index in the table",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"index": {
|
|
"type": "integer",
|
|
"description": "Zero-based index of the task in the table. Use aidatataskrunner_get_task_total to know the total number of tasks"
|
|
}
|
|
},
|
|
"required": ["index"]
|
|
}
|
|
},
|
|
{
|
|
"name": "aidatataskrunner_clean_all_tasks",
|
|
"description": "Cleans all tasks from the table that are not running or queued",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": []
|
|
}
|
|
},
|
|
{
|
|
"name": "aidatataskrunner_execute_all_tasks",
|
|
"description": "Executes all pending tasks in the table",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": []
|
|
}
|
|
},
|
|
{
|
|
"name": "aidatataskrunner_load_config",
|
|
"description": "Loads the panel configuration from a file",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"file_name": {
|
|
"type": "string",
|
|
"description": "Absolute path inside MT5 Files\\ or Common\\Files\\, and file extension is .txt"
|
|
}
|
|
},
|
|
"required": ["file_name"]
|
|
}
|
|
},
|
|
{
|
|
"name": "aidatataskrunner_save_config",
|
|
"description": "Saves the current panel configuration to a file",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"file_name": {
|
|
"type": "string",
|
|
"description": "Absolute path inside MT5 Files\\ or Common\\Files\\, and file extension is .txt"
|
|
}
|
|
},
|
|
"required": ["file_name"]
|
|
}
|
|
},
|
|
{
|
|
"name": "aidatataskrunner_get_main_folder",
|
|
"description": "Returns the main base folder path used by AiDataTaskRunner app",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": []
|
|
}
|
|
},
|
|
{
|
|
"name": "aidatataskrunner_get_task_folder",
|
|
"description": "Returns the tasks folder path used by AiDataTaskRunner",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": []
|
|
}
|
|
},
|
|
{
|
|
"name": "aidatataskrunner_is_in_commonfolder",
|
|
"description": "Returns whether AiDataTaskRunner is using the MT5 common folder",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": []
|
|
}
|
|
}
|
|
]
|
|
}
|