-
Notifications
You must be signed in to change notification settings - Fork 622
TRAILING_DELTA missing in FilterType #424
Comments
It doesn't work adding only that value in the enum.. |
@mehc77 i only added TRAILING_DELTA to the enum and then it worked for me. Did you do something else except my solution? |
@TheLeBot i have tried to update the enum in my api and getFilterType keeps giving an error, so I had to skip the search for lot_size to keep it working. |
@mehc77 Which kind of error do you get? I think you better attach the changed class for your program. Probably it does not use your changes somehow. It worked promtely for me as I added TRAILING_DELTA. |
Only added TRAILING_DELTA to the enum and then it worked for me. Like the following ; public enum FilterType { // Exchange |
Thank you so much! |
Those using OCO orders should probably have a look at this: https://github.com/binance-exchange/binance-java-api/pull/262/files/0f6856748cce6e011046c10732f5dccaac0352a1..e278acddb9c9cbbd5b7db9c49cb2497de7e35a48 FilterType for TRAILING_DELTA has some attributes, which should be added into the API declaration! |
You have to add "PERCENT_PRICE_BY_SIDE" also guys. it's new. |
Since today 07.04.2022 the API for getting ExchangeInfo produces an exception because Binance added a new FilterType "TRAILING_DELTA" which is not a part of the enum FilterType in current Java-API.
The only way to fix it is to extend FilterType with this value.
The text was updated successfully, but these errors were encountered: