Skip to main content
Version: 2.x

Public data

 License: MIT 

Installation

pom.xml
<dependency>
<groupId>{{groupId}}</groupId>
<artifactId>{{artifactId}}</artifactId>
<version>{{version}}</version>
</dependency>

SPOT endpoints

Get klines

VisionSpotClient client = new VisionSpotClient();

try{
ZipInputStream response = client.getKlines(symbol, CandlestickInterval, year, month).getZip();
}catch(ApiException e){
//...
}

Get trades

VisionSpotClient client = new VisionSpotClient();

try{
ZipInputStream response = client.getTrades(symbol, year, month).getZip();
}catch(ApiException e){
//...
}

Get aggregate trades

VisionSpotClient client = new VisionSpotClient();

try{
ZipInputStream response = client.getAggTrades(symbol, year, month).getZip();
}catch(ApiException e){
//...
}