binance-java-api is a lightweight Java library for the Binance API, supporting synchronous and asynchronous requests, as well as event streaming using WebSockets.
Hi, I tried to adapt this API to make it work for futures like BTCUSDT but I can't get it working to send an order, I got an unauthorized response from the server. I just changed the url in class BinanceApiService.java from @POST("/api/v3/order") to @POST("/fapi/v1/order").
I can retrieve quotes though. I use the REST client class. I was thinking this is something related to my account so I then tried using python binance api with same api and secret key and it worked.
Is that possible to make this API work with futures ?
Thanks
Alex
Hi, I tried to adapt this API to make it work for futures like BTCUSDT but I can't get it working to send an order, I got an unauthorized response from the server. I just changed the url in class BinanceApiService.java from @POST("/api/v3/order") to @POST("/fapi/v1/order").
I can retrieve quotes though. I use the REST client class. I was thinking this is something related to my account so I then tried using python binance api with same api and secret key and it worked. Is that possible to make this API work with futures ? Thanks Alex