v2.12.0
Breaking change
Tick size validation introduced
Tick size is the smallest increment in the price of a crypto asset that you can change or quote on Bitvavo.
What is changing
For every market, we now determine the minimum price increment that can be made on Bitvavo. When the price is set, we validate that the price is a multiple of the tick size. If it is not, we return an error.
For example, if the tick size is 0.01, you can only set the price to 1.00, 1.01, 1.02, and so on. If you try to set the price to 1.005, we return an error.
Why is this beneficial
This validation helps:
- Keep the order book clean and consistent.
- Set precise prices for large orders or crypto assets like Bitcoin, which have a high tick size.
- Minimize the risk of rapidly undercutting existing orders by the smallest possible amount.
What you need to do
Make sure that your app creates and updates orders with prices that are multiples of the tick size for the market you are trading on. To get the tick size, you can make Get markets REST or WebSocket requests.
Deprecated
pricePrecision
With the tick size validation, the pricePrecision
response parameter of the Get markets REST and WebSocket requests now always returns the value null. We will remove this parameter in one of the next releases.