From e18894712e2e66de50bc841149699c76c142dcd6 Mon Sep 17 00:00:00 2001 From: James Bellenger Date: Thu, 18 Mar 2021 13:25:37 -0700 Subject: [PATCH 1/2] JMB: add extra flags for SymbolFilter PRICE_PERCENT --- .../client/domain/general/SymbolFilter.java | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/src/main/java/com/binance/api/client/domain/general/SymbolFilter.java b/src/main/java/com/binance/api/client/domain/general/SymbolFilter.java index e6a8b98c8..dc38f8e53 100755 --- a/src/main/java/com/binance/api/client/domain/general/SymbolFilter.java +++ b/src/main/java/com/binance/api/client/domain/general/SymbolFilter.java @@ -77,6 +77,13 @@ public class SymbolFilter { */ private String limit; + // percent_price + private String multiplierUp; + + private String multiplierDown; + + private Integer avgPriceMins; + public FilterType getFilterType() { return filterType; } @@ -157,4 +164,28 @@ public String getLimit() { public void setLimit(String limit) { this.limit = limit; } + + public String getMultiplierUp() { + return multiplierUp; + } + + public void setMultiplierUp(String multiplierUp) { + this.multiplierUp = multiplierUp; + } + + public String getMultiplierDown() { + return multiplierDown; + } + + public void setMultiplierDown(String multiplierDown) { + this.multiplierDown = multiplierDown; + } + + public Integer getAvgPriceMins() { + return avgPriceMins; + } + + public void setAvgPriceMins(Integer avgPriceMins) { + this.avgPriceMins = avgPriceMins; + } } From c9880b0e4e488a26aa224d12dd504185236829dd Mon Sep 17 00:00:00 2001 From: James Bellenger Date: Thu, 18 Mar 2021 15:13:03 -0700 Subject: [PATCH 2/2] . --- .../api/client/domain/general/SymbolFilter.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main/java/com/binance/api/client/domain/general/SymbolFilter.java b/src/main/java/com/binance/api/client/domain/general/SymbolFilter.java index dc38f8e53..13efc9eda 100755 --- a/src/main/java/com/binance/api/client/domain/general/SymbolFilter.java +++ b/src/main/java/com/binance/api/client/domain/general/SymbolFilter.java @@ -84,6 +84,8 @@ public class SymbolFilter { private Integer avgPriceMins; + private Boolean applyToMarket; + public FilterType getFilterType() { return filterType; } @@ -188,4 +190,12 @@ public Integer getAvgPriceMins() { public void setAvgPriceMins(Integer avgPriceMins) { this.avgPriceMins = avgPriceMins; } + + public boolean getApplyToMarket(){ + return applyToMarket; + } + + public void setApplyToMarket(boolean applyToMarket) { + this.applyToMarket = applyToMarket; + } }