binance-java-api is a lightweight Java library for the Binance API, supporting synchronous and asynchronous requests, as well as event streaming using WebSockets.
Using:
@GET("/sapi/v1/margin/isolated/account") (Amended this)
Call getMarginAccount(@Query(“recvWindow”) Long recvWindow, @Query(“timestamp”) Long timestamp);
Error: User does not exist
OR
@GET("/sapi/v1/margin/account")
Call getMarginAccount(@Query(“recvWindow”) Long recvWindow, @Query(“timestamp”) Long timestamp);
Error: Unable to get trades
ASK: Unable to get ISOLATED Margin Trades
Spot account access working as expected
Class Name: BinanceApiService
Using: @GET("/sapi/v1/margin/isolated/account") (Amended this) Call getMarginAccount(@Query(“recvWindow”) Long recvWindow, @Query(“timestamp”) Long timestamp); Error: User does not exist
OR @GET("/sapi/v1/margin/account")
Call getMarginAccount(@Query(“recvWindow”) Long recvWindow, @Query(“timestamp”) Long timestamp); Error: Unable to get trades