jnidzwetzki / bitfinex-v2-wss-api-java

This project provides a Java client library for the Bitfinex WebSocket API (v2). Public and private channels (candles, ticks, executed trades, (raw) orderbooks, orders, and wallets) are implemented.
Apache License 2.0
91 stars 55 forks source link

Incorrect validation for possible values. The valid values are: 25 or 100 but should be 1, 25, 100, 250 #314

Open GeekHare opened 1 year ago

GeekHare commented 1 year ago

I run into an issue with validation of price points in BitfinexOrderBookSymbol.

In the official documentation said the following: Number of price points ("1", "25", "100", "250") [default="25"] Please, have a look at Request Fields -> LENGTH

GeekHare commented 1 year ago

Hello @jnidzwetzki, I've prepared a PR, please, take a look at it https://github.com/jnidzwetzki/bitfinex-v2-wss-api-java/pull/316