Skip to content

Commit

Permalink
Add SymbolInfo attributs
Browse files Browse the repository at this point in the history
  • Loading branch information
yaniferhaoui committed Feb 24, 2021
1 parent 20f58b5 commit 2ae2a3b
Show file tree
Hide file tree
Showing 29 changed files with 40 additions and 0 deletions.
Empty file modified .gitignore
100644 → 100755
Empty file.
Empty file modified LICENSE
100644 → 100755
Empty file.
Empty file modified README.md
100644 → 100755
Empty file.
Empty file modified pom.xml
100644 → 100755
Empty file.
Empty file.
Empty file modified src/main/java/com/binance/api/client/constant/Util.java
100644 → 100755
Empty file.
Empty file.
Empty file modified src/main/java/com/binance/api/client/domain/SwapRemoveType.java
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified src/main/java/com/binance/api/client/domain/account/Pool.java
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ public class SymbolInfo {

private boolean icebergAllowed;

private boolean ocoAllowed;

private boolean quoteOrderQtyMarketAllowed;

private boolean isSpotTradingAllowed;

private boolean isMarginTradingAllowed;

private List<SymbolFilter> filters;

public String getSymbol() {
Expand Down Expand Up @@ -95,6 +103,38 @@ public void setIcebergAllowed(boolean icebergAllowed) {
this.icebergAllowed = icebergAllowed;
}

public boolean isOcoAllowed() {
return ocoAllowed;
}

public void setOcoAllowed(boolean ocoAllowed) {
this.ocoAllowed = ocoAllowed;
}

public boolean isQuoteOrderQtyMarketAllowed() {
return quoteOrderQtyMarketAllowed;
}

public void setQuoteOrderQtyMarketAllowed(boolean quoteOrderQtyMarketAllowed) {
this.quoteOrderQtyMarketAllowed = quoteOrderQtyMarketAllowed;
}

public boolean isSpotTradingAllowed() {
return isSpotTradingAllowed;
}

public void setSpotTradingAllowed(boolean isSpotTradingAllowed) {
this.isSpotTradingAllowed = isSpotTradingAllowed;
}

public boolean isMarginTradingAllowed() {
return isMarginTradingAllowed;
}

public void setMarginTradingAllowed(boolean isMarginTradingAllowed) {
this.isMarginTradingAllowed = isMarginTradingAllowed;
}

public List<SymbolFilter> getFilters() {
return filters;
}
Expand Down
Empty file.
Empty file modified src/test/java/com/binance/api/examples/SwapEndpointExample.java
100644 → 100755
Empty file.
Empty file.

0 comments on commit 2ae2a3b

Please sign in to comment.