This section give's control about the trading status in the system.
The trading can be disabled or enabled by any admin,in case he is using the correct trading password.
Admin logged in - can enable/disable trading status any time (using correct trading password).
User logged in - dont have access to trading status managment.
Return the current status of the trading (open or close)
Success
Unauthorized
Forbidden
{- "api_message": "<string>",
- "api_data": {
- "trading": {
- "id": "<string>",
- "name": "<string>",
- "value": "<string>",
- "return_parameter_type": "<string>",
- "created_at": "<datetime string>",
- "updated_at": "<datetime string>"
}
}
}
Enable the trading in the system,must be provided with the password
Success
Unauthorized
Forbidden
Unprocessable Content
{- "password": "SomePassword078$#@"
}
{- "api_message": "<string>",
- "api_data": {
- "trading": {
- "id": "<string>",
- "name": "<string>",
- "value": "<string>",
- "return_parameter_type": "<string>",
- "created_at": "<datetime string>",
- "updated_at": "<datetime string>"
}
}
}
Disable the trading in the system,must be provided with the password
Success
Unauthorized
Forbidden
Unprocessable Content
{- "password": "SomePassword078$#@"
}
{- "api_message": "<string>",
- "api_data": {
- "trading": {
- "id": "<string>",
- "name": "<string>",
- "value": "<string>",
- "return_parameter_type": "<string>",
- "created_at": "<datetime string>",
- "updated_at": "<datetime string>"
}
}
}