This repository has been archived by the owner on Oct 30, 2023. It is now read-only.
forked from joaopsilva/binance-java-api
-
Notifications
You must be signed in to change notification settings - Fork 622
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
68 changed files
with
791 additions
and
444 deletions.
There are no files selected for viewing
70 changes: 0 additions & 70 deletions
70
src/main/java/com/binance/api/client/BinanceApiFuturesRestClient.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,8 @@ | |
*/ | ||
public enum BinanceEngineType { | ||
SPOT, | ||
MARGIN, | ||
SWAP, | ||
FUTURES, | ||
TESTNET | ||
} |
2 changes: 1 addition & 1 deletion
2
...inance/api/client/BinanceApiCallback.java → ...ce/api/client/api/BinanceApiCallback.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...m/binance/api/client/BinanceApiError.java → ...nance/api/client/api/BinanceApiError.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...api/client/BinanceApiWebSocketClient.java → ...client/api/BinanceApiWebSocketClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...ent/BinanceApiAsyncFuturesRestClient.java → ...ync/BinanceApiAsyncFuturesRestClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/main/java/com/binance/api/client/api/sync/BinanceApiFuturesRestClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package com.binance.api.client.api.sync; | ||
|
||
import com.binance.api.client.domain.account.FuturesAccount; | ||
import com.binance.api.client.domain.account.FuturesNewOrder; | ||
import com.binance.api.client.domain.account.FuturesNewOrderResponse; | ||
|
||
public interface BinanceApiFuturesRestClient extends BinanceApiGeneralRestClient { | ||
|
||
/** | ||
* Get current margin account information using default parameters. | ||
*/ | ||
FuturesAccount getAccount(); | ||
|
||
/** | ||
* Send in a new margin order. | ||
* | ||
* @param order the new order to submit. | ||
* @return a response containing details about the newly placed order. | ||
*/ | ||
FuturesNewOrderResponse newOrder(FuturesNewOrder order); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.