Trade requests
use webScoket to create or cancel orders.Parameters same as REST API
Request Parameter | Data Type | Required | Description |
---|---|---|---|
id | String | false | request id,if responds, this id is returned max, length 50 |
event | String | true | trade events, enumerated value eg: createOrder cancelOrders ... |
params | Json | true | event params |
Example:
Request:
# Example request
{
"id": "1234567",
"event": "createOrder",
"params": {
}
}