@@ -30,35 +30,35 @@ public interface Bitmex {
30
30
31
31
@ GET
32
32
@ Path ("user" )
33
- BitmexAccount getAccount (@ HeaderParam ("API-KEY " ) String apiKey , @ HeaderParam ("API-NONCE " ) SynchronizedValueFactory <Long > nonce , @ HeaderParam ("API-SIGNATURE " ) ParamsDigest paramsDigest )
33
+ BitmexAccount getAccount (@ HeaderParam ("api-key " ) String apiKey , @ HeaderParam ("api-nonce " ) SynchronizedValueFactory <Long > nonce , @ HeaderParam ("api-signature " ) ParamsDigest paramsDigest )
34
34
throws IOException ;
35
35
36
36
@ GET
37
37
@ Path ("user/wallet" )
38
- BitmexWallet getWallet (@ HeaderParam ("API-KEY " ) String apiKey , @ HeaderParam ("API-NONCE " ) SynchronizedValueFactory <Long > nonce , @ HeaderParam ("API-SIGNATURE " ) ParamsDigest paramsDigest ,
38
+ BitmexWallet getWallet (@ HeaderParam ("api-key " ) String apiKey , @ HeaderParam ("api-nonce " ) SynchronizedValueFactory <Long > nonce , @ HeaderParam ("api-signature " ) ParamsDigest paramsDigest ,
39
39
@ Nullable @ QueryParam ("currency" ) String currency ) throws IOException ;
40
40
41
41
// Get a history of all of your wallet transactions (deposits, withdrawals, PNL)
42
42
@ GET
43
43
@ Path ("user/walletHistory" )
44
- List <BitmexWalletTransaction > getWalletHistory (@ HeaderParam ("API-KEY " ) String apiKey , @ HeaderParam ("API-NONCE " ) SynchronizedValueFactory <Long > nonce ,
45
- @ HeaderParam ("API-SIGNATURE " ) ParamsDigest paramsDigest , @ Nullable @ QueryParam ("currency" ) String currency ) throws IOException ;
44
+ List <BitmexWalletTransaction > getWalletHistory (@ HeaderParam ("api-key " ) String apiKey , @ HeaderParam ("api-nonce " ) SynchronizedValueFactory <Long > nonce ,
45
+ @ HeaderParam ("api-signature " ) ParamsDigest paramsDigest , @ Nullable @ QueryParam ("currency" ) String currency ) throws IOException ;
46
46
47
47
// Get a summary of all of your wallet transactions (deposits, withdrawals, PNL)
48
48
@ GET
49
49
@ Path ("user/walletSummary" )
50
- List <BitmexWalletTransaction > getWalletSummary (@ HeaderParam ("API-KEY " ) String apiKey , @ HeaderParam ("API-NONCE " ) SynchronizedValueFactory <Long > nonce ,
51
- @ HeaderParam ("API-SIGNATURE " ) ParamsDigest paramsDigest , @ Nullable @ QueryParam ("currency" ) String currency ) throws IOException ;
50
+ List <BitmexWalletTransaction > getWalletSummary (@ HeaderParam ("api-key " ) String apiKey , @ HeaderParam ("api-nonce " ) SynchronizedValueFactory <Long > nonce ,
51
+ @ HeaderParam ("api-signature " ) ParamsDigest paramsDigest , @ Nullable @ QueryParam ("currency" ) String currency ) throws IOException ;
52
52
53
53
@ GET
54
54
@ Path ("user/margin" )
55
- BitmexMarginAccount getMarginAccountStatus (@ HeaderParam ("API-KEY " ) String apiKey , @ HeaderParam ("API-NONCE " ) SynchronizedValueFactory <Long > nonce ,
56
- @ HeaderParam ("API-SIGNATURE " ) ParamsDigest paramsDigest , @ Nullable @ QueryParam ("currency" ) String currency ) throws IOException ;
55
+ BitmexMarginAccount getMarginAccountStatus (@ HeaderParam ("api-key " ) String apiKey , @ HeaderParam ("api-nonce " ) SynchronizedValueFactory <Long > nonce ,
56
+ @ HeaderParam ("api-signature " ) ParamsDigest paramsDigest , @ Nullable @ QueryParam ("currency" ) String currency ) throws IOException ;
57
57
58
58
@ GET
59
59
@ Path ("user/margin?currency=all" )
60
- List <BitmexMarginAccount > getMarginAccountsStatus (@ HeaderParam ("API-KEY " ) String apiKey , @ HeaderParam ("API-NONCE " ) SynchronizedValueFactory <Long > nonce ,
61
- @ HeaderParam ("API-SIGNATURE " ) ParamsDigest paramsDigest ) throws IOException ;
60
+ List <BitmexMarginAccount > getMarginAccountsStatus (@ HeaderParam ("api-key " ) String apiKey , @ HeaderParam ("api-nonce " ) SynchronizedValueFactory <Long > nonce ,
61
+ @ HeaderParam ("api-signature " ) ParamsDigest paramsDigest ) throws IOException ;
62
62
63
63
@ GET
64
64
@ Path ("trade" )
@@ -70,12 +70,12 @@ List<BitmexMarginAccount> getMarginAccountsStatus(@HeaderParam("API-KEY") String
70
70
71
71
@ GET
72
72
@ Path ("position" )
73
- List <BitmexPosition > getPositions (@ HeaderParam ("API-KEY " ) String apiKey , @ HeaderParam ("API-NONCE " ) SynchronizedValueFactory <Long > nonce , @ HeaderParam ("API-SIGNATURE " ) ParamsDigest paramsDigest )
73
+ List <BitmexPosition > getPositions (@ HeaderParam ("api-key " ) String apiKey , @ HeaderParam ("api-nonce " ) SynchronizedValueFactory <Long > nonce , @ HeaderParam ("api-signature " ) ParamsDigest paramsDigest )
74
74
throws IOException ;
75
75
76
76
@ GET
77
77
@ Path ("position" )
78
- List <BitmexPosition > getPositions (@ HeaderParam ("API-KEY " ) String apiKey , @ HeaderParam ("API-NONCE " ) SynchronizedValueFactory <Long > nonce , @ HeaderParam ("API-SIGNATURE " ) ParamsDigest paramsDigest ,
78
+ List <BitmexPosition > getPositions (@ HeaderParam ("api-key " ) String apiKey , @ HeaderParam ("api-nonce " ) SynchronizedValueFactory <Long > nonce , @ HeaderParam ("api-signature " ) ParamsDigest paramsDigest ,
79
79
@ Nullable @ QueryParam ("symbol" ) String symbol , @ Nullable @ QueryParam ("filter" ) String filter ) throws IOException ;
80
80
81
81
@ GET
0 commit comments