@@ -84,129 +84,4 @@ public String futuresTransferHistory(Map<String, Object> parameters) {
8484 ParameterChecker .checkParameter (parameters , "startTime" , Long .class );
8585 return requestHandler .sendSignedRequest (baseUrl , FUTURES_TRANSFER , parameters , HttpMethod .GET , showLimitUsage );
8686 }
87-
88- private final String BORROW_HISTORY = "/sapi/v1/futures/loan/borrow/history" ;
89- /**
90- * GET /sapi/v1/futures/loan/borrow/history
91- * <br>
92- * @param
93- * parameters Map of String,Object pair
94- * where String is the name of the parameter and Object is the value of the parameter
95- * <br><br>
96- * coin -- optional/string <br>
97- * startTime -- optional/long <br>
98- * endTime -- optional/long <br>
99- * limit -- optional/long -- default 500, max 1000 <br>
100- * recvWindow -- optional/long <br>
101- * @return String
102- * @see <a href="https://binance-docs.github.io/apidocs/spot/en/#cross-collateral-borrow-history-user_data">
103- * https://binance-docs.github.io/apidocs/spot/en/#cross-collateral-borrow-history-user_data</a>
104- */
105- public String borrowHistory (Map <String , Object > parameters ) {
106- return requestHandler .sendSignedRequest (baseUrl , BORROW_HISTORY , parameters , HttpMethod .GET , showLimitUsage );
107- }
108-
109- private final String REPAY_HISTORY = "/sapi/v1/futures/loan/repay/history" ;
110- /**
111- * GET /sapi/v1/futures/loan/repay/history
112- * <br>
113- * @param
114- * parameters Map of String,Object pair
115- * where String is the name of the parameter and Object is the value of the parameter
116- * <br><br>
117- * coin -- optional/string <br>
118- * startTime -- optional/long <br>
119- * endTime -- optional/long <br>
120- * limit -- optional/long -- default 500, max 1000 <br>
121- * recvWindow -- optional/long <br>
122- * @return String
123- * @see <a href="https://binance-docs.github.io/apidocs/spot/en/#cross-collateral-repayment-history-user_data">
124- * https://binance-docs.github.io/apidocs/spot/en/#cross-collateral-repayment-history-user_data</a>
125- */
126- public String repayHistory (Map <String , Object > parameters ) {
127- return requestHandler .sendSignedRequest (baseUrl , REPAY_HISTORY , parameters , HttpMethod .GET , showLimitUsage );
128- }
129-
130- private final String WALLET = "/sapi/v2/futures/loan/wallet" ;
131- /**
132- * GET /sapi/v2/futures/loan/wallet
133- * <br>
134- * @param
135- * parameters Map of String,Object pair
136- * where String is the name of the parameter and Object is the value of the parameter
137- * <br><br>
138- * recvWindow -- optional/long <br>
139- * @return String
140- * @see <a href="https://binance-docs.github.io/apidocs/spot/en/#cross-collateral-wallet-user_data">
141- * https://binance-docs.github.io/apidocs/spot/en/#cross-collateral-wallet-user_data</a>
142- */
143- public String loanWallet (Map <String , Object > parameters ) {
144- return requestHandler .sendSignedRequest (baseUrl , WALLET , parameters , HttpMethod .GET , showLimitUsage );
145- }
146-
147- private final String ADJUST_COLLATERAL_HISTORY = "/sapi/v1/futures/loan/adjustCollateral/history" ;
148- /**
149- * GET /sapi/v1/futures/loan/adjustCollateral/history
150- * <br>
151- * @param
152- * parameters Map of String,Object pair
153- * where String is the name of the parameter and Object is the value of the parameter
154- * <br><br>
155- * loanCoin -- optional/string <br>
156- * collateralCoin -- optional/string <br>
157- * startTime -- optional/long <br>
158- * endTime -- optional/long <br>
159- * limit -- optional/long -- default 500, max 1000 <br>
160- * recvWindow -- optional/long <br>
161- * @return String
162- * @see <a href="https://binance-docs.github.io/apidocs/spot/en/#adjust-cross-collateral-ltv-history-user_data">
163- * https://binance-docs.github.io/apidocs/spot/en/#adjust-cross-collateral-ltv-history-user_data</a>
164- */
165- public String adjustCollateralHistory (Map <String , Object > parameters ) {
166- return requestHandler .sendSignedRequest (baseUrl , ADJUST_COLLATERAL_HISTORY , parameters , HttpMethod .GET , showLimitUsage );
167- }
168-
169- private final String LIQUIDATION_HISTORY = "/sapi/v1/futures/loan/liquidationHistory" ;
170- /**
171- * GET /sapi/v1/futures/loan/liquidationHistory
172- * <br>
173- * @param
174- * parameters Map of String,Object pair
175- * where String is the name of the parameter and Object is the value of the parameter
176- * <br><br>
177- * loanCoin -- optional/string <br>
178- * collateralCoin -- optional/string <br>
179- * startTime -- optional/long <br>
180- * endTime -- optional/long <br>
181- * limit -- optional/long -- default 500, max 1000 <br>
182- * recvWindow -- optional/long <br>
183- * @return String
184- * @see <a href="https://binance-docs.github.io/apidocs/spot/en/#cross-collateral-liquidation-history-user_data">
185- * https://binance-docs.github.io/apidocs/spot/en/#cross-collateral-liquidation-history-user_data</a>
186- */
187- public String liquidationHistory (Map <String , Object > parameters ) {
188- return requestHandler .sendSignedRequest (baseUrl , LIQUIDATION_HISTORY , parameters , HttpMethod .GET , showLimitUsage );
189- }
190-
191- private final String INTEREST_HISTORY = "/sapi/v1/futures/loan/interestHistory" ;
192- /**
193- * GET /sapi/v1/futures/loan/interestHistory
194- * <br>
195- * @param
196- * parameters Map of String,Object pair
197- * where String is the name of the parameter and Object is the value of the parameter
198- * <br><br>
199- * collateralCoin -- optional/string <br>
200- * startTime -- optional/long <br>
201- * endTime -- optional/long <br>
202- * current -- optional/long -- Currently querying page. Start from 1. Default:1 <br>
203- * limit -- optional/long -- default 500, max 1000 <br>
204- * recvWindow -- optional/long <br>
205- * @return String
206- * @see <a href="https://binance-docs.github.io/apidocs/spot/en/#cross-collateral-interest-history-user_data">
207- * https://binance-docs.github.io/apidocs/spot/en/#cross-collateral-interest-history-user_data</a>
208- */
209- public String interestHistory (Map <String , Object > parameters ) {
210- return requestHandler .sendSignedRequest (baseUrl , INTEREST_HISTORY , parameters , HttpMethod .GET , showLimitUsage );
211- }
21287}
0 commit comments