binance-exchange / binance-java-api

binance-java-api is a lightweight Java library for the Binance API, supporting synchronous and asynchronous requests, as well as event streaming using WebSockets.
MIT License
831 stars 628 forks source link

Unable to get isolated margin trades #378

Open gouravgarg opened 3 years ago

gouravgarg commented 3 years ago

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