Skip to content
This repository was archived by the owner on Oct 30, 2023. It is now read-only.

Commit 84752f1

Browse files
authored
Merge pull request #220 from putraxor/patch-1
Add Cummulative Quote Quantity to Order DTO.
2 parents a15902a + 54bc694 commit 84752f1

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

  • src/main/java/com/binance/api/client/domain/account

src/main/java/com/binance/api/client/domain/account/Order.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ public class Order {
7878
* Order timestamp.
7979
*/
8080
private long time;
81+
82+
/**
83+
* Used to calculate the average price
84+
*/
85+
private String cummulativeQuoteQty;
8186

8287
public String getSymbol() {
8388
return symbol;
@@ -182,6 +187,14 @@ public long getTime() {
182187
public void setTime(long time) {
183188
this.time = time;
184189
}
190+
191+
public String getCummulativeQuoteQty() {
192+
return cummulativeQuoteQty;
193+
}
194+
195+
public void setCummulativeQuoteQty(String cummulativeQuoteQty) {
196+
this.cummulativeQuoteQty = cummulativeQuoteQty;
197+
}
185198

186199
@Override
187200
public String toString() {
@@ -199,6 +212,7 @@ public String toString() {
199212
.append("stopPrice", stopPrice)
200213
.append("icebergQty", icebergQty)
201214
.append("time", time)
215+
.append("cummulativeQuoteQty", cummulativeQuoteQty)
202216
.toString();
203217
}
204218
}

0 commit comments

Comments
 (0)