Skip to main content

Settings

Settings​

Copy trading settings

Request URL​

POST /deepcoin/copytrading/leader-settings

Request Parameters​

Field NameRequiredTypeDescription
statustrueintCopy trading switch
0: Close copy trading
1: Open copy trading
homeModefalseintHomepage mode
1: Private
3: Public, cannot set to private when copy trading is on
isClosedCopyCodefalseboolWhether to close copy trading code
Default: true
true: Close code
false: Set code
copyCodefalsestringCopy trading code
Required when isClosedCopyCode is false

Response Parameters​

Field NameTypeDescription
codestringError code
msgstringError message
datastring

Response Example​

{
"code": "0",
"msg": "",
"data": null
}