Create TickSize
POST {{URL_ORIGIN}}/api/tick-sizes
This API allows to create a new TickSize.
ID will be returned in the response, this ID is the unique identifier of the TickSize and should be used when sending update commands.
Note: this ID can be retrieved via Get TickSizes API.
Create TickSize- Error Codes
| Code | Message |
|---|---|
| 1 | System is unavailable |
| 100 | Missing or invalid parameter: [FieldName] |
101 new | Max number of ticksizes (items) is 25 |
| 102 | name already exists |
| 10001 | Permission denied |
Request Body
{"name"=>"NewGroup", "items"=>[{"tickSize"=>"0.15", "price"=>"444"}, {"tickSize"=>"0.77"}]}
RESPONSES
status: OK
{"id":"22","name":"NewGroup2","items":[{"price":"444","tickSize":"0.15"},{"tickSize":"0.77"}]}