Update TickSize
PUT {{URL_ORIGIN}}/api/tick-sizes/19
This API allows to update existing TickSize.
Update TickSize - Error Codes
All validations in create TickSize and the below
Code | Message |
---|---|
101 | [FieldName] not found |
10001 | Permission denied |
10004 | Wrong format |
2605 | [FieldName] must be less than maxLong/10^ pricePrecision for [Instrument] |
2603 | [fieldValue] is not allowed as price precision is [lowestinstrumentPricePrecision] for [Instrument] |
Request Body
{"name"=>"NewGroup", "items"=>[{"tickSize"=>"0.15", "price"=>"1"}, {"tickSize"=>"0.77"}], "comment"=>"new Tick Size"}
RESPONSES
status: OK
{"id":"166","data":{"id":"5","name":"tickSize","items":[{"price":"10","tickSize":"2"},{"price":"20","tickSize":"3"},{"price":"30","tickSize":"4"},{"price":"40","tickSize":"5"},{"tickSize":"1"}]},"requestType":"UpdateTickSizeGroup","name":"tickSize","status":"Pending","makerComment":"new price","makerUserId":"auth0|6310aa4ba8cae50015ee3678","makerUserType":"Admin","timestamp":"2024-02-29T09:37:20.237"}