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

Binance Futures API #340

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified LICENSE
100755 → 100644
Empty file.
8 changes: 4 additions & 4 deletions README.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -420,16 +420,16 @@ client.onUserDataUpdateEvent(listenKey, response -> {
// Print new balances of every available asset
System.out.println(accountUpdateEvent.getBalances());
} else {
OrderTradeUpdateEvent orderTradeUpdateEvent = response.getOrderTradeUpdateEvent();
OrderTradeUpdateEvent executionReport = response.getOrderTradeUpdateEvent();

// Print details about an order/trade
System.out.println(orderTradeUpdateEvent);
System.out.println(executionReport);

// Print original quantity
System.out.println(orderTradeUpdateEvent.getOriginalQuantity());
System.out.println(executionReport.getOriginalQuantity());

// Or price
System.out.println(orderTradeUpdateEvent.getPrice());
System.out.println(executionReport.getPrice());
}
});
```
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.binance.api</groupId>
<artifactId>binance-api-client</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<licenses>
<license>
<name>The MIT License</name>
Expand Down
314 changes: 0 additions & 314 deletions src/main/java/com/binance/api/client/BinanceApiAsyncRestClient.java

This file was deleted.

Loading