binance-exchange / binance-java-api

binance-java-api is a lightweight Java library for the Binance API, supporting synchronous and asynchronous requests, as well as event streaming using WebSockets.
MIT License
830 stars 622 forks source link

Added TRAILING_DELTA into FilterType #426

Open dougrechia opened 2 years ago

dougrechia commented 2 years ago

Due to the lack of the above enum element, the following exception is showing up: com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type com.binance.api.client.domain.general.FilterType from String "TRAILING_DELTA": value not one of declared Enum instance names: [MAX_POSITION, MIN_NOTIONAL, PRICE_FILTER, LOT_SIZE, MARKET_LOT_SIZE, EXCHANGE_MAX_NUM_ORDERS, MAX_ALGO_ORDERS, MAX_NUM_ORDERS, EXCHANGE_MAX_ALGO_ORDERS, MAX_NUM_ALGO_ORDERS, ICEBERG_PARTS, PERCENT_PRICE, MAX_NUM_ICEBERG_ORDERS]