Disable Copy Trading (PATCH)

Disable Copy Trading

This API is used to enable / disable a copy trading task

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

{
	"id": "lxvmnr5h00jeus",
	"enabled": false,
	"closePnlOrder": false
}

Request Response

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

Request Parameters

  • id: Copy trading task id

  • enabled: Task enable status, true/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