(Multi)Disable Copy Trading (PATCH)

(Multi)Disable Copy Trading

This API is used to batch disable specified copy trading tasks

URL

Header: X-API-KEY

(Please do not disclose your API Key to anyone. If you are at risk of losing it, please refresh it.)

Notes

  1. X-API-KEY can be obtained in your "Dashboard", go to check: Dashboard

  2. In the paging type interface, use the next field in the return value as the query parameter for the next page (if next == null, it means that paging has ended)

Request Example

{
	"ids": [
		"lxvmnr5h00jeus",
		"l3v6nj6l10j689"
	],
	"enabled": false,
	"closePnlOrder": false
}

Request Response

{
	"err": false,
	"res": "",
	"docs": "https://dbotx.com/docs"
}

Request Parameters

  • ids: Copy trading task id list

  • enabled: Enable or disable the tasks, this can only be β€œfalse”

  • closePnlOrder: Whether to disable all take profit / stop loss tasks created by copy trading at the same time, the default is "false", which means not disabled (valid when "enabled" is false)

Last updated