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
Trying to test connectivity per example in GeneralEndpointsExampleAsync.java gives me an error #369
to my code as per line 22 in GeneralEndpointsExampleAsync.java my IDE tells me:
"'ping()' in 'com.binance.api.client.BinanceApiRestClient' cannot be applied to '()'"
Trying to figure out where my API issues are coming from and that seems like a good place to start
When I add
client.ping(response -> System.out.println("Ping succeeded."));
to my code as per line 22 in GeneralEndpointsExampleAsync.java my IDE tells me: "'ping()' in 'com.binance.api.client.BinanceApiRestClient' cannot be applied to '()'"
Trying to figure out where my API issues are coming from and that seems like a good place to start