Public data
Installation
- Maven
- Gradle
pom.xml
<dependency>
<groupId>{{groupId}}</groupId>
<artifactId>{{artifactId}}</artifactId>
<version>{{version}}</version>
</dependency>
build.gradle
implementation '{{groupId}}:{{artifactId}}:{{version}}'
SPOT endpoints
Get klines
- Zipped
- In a 2d list format
- Deserialized
- Get Checksum
- Monthly
- Daily
- sync
- async
VisionSpotClient client = new VisionSpotClient();
try{
ZipInputStream response = client.getKlines(symbol, CandlestickInterval, year, month).getZip();
}catch(ApiException e){
//...
}
VisionSpotClient client = new VisionSpotClient();
client.getKlines(symbol, CandlestickInterval, year, month).getZip((res, exception)->{
if(exception == null){
//...
} else{
//...
}
});
- sync
- async
VisionSpotClient client = new VisionSpotClient();
try{
ZipInputStream response = client.getKlines(symbol, CandlestickInterval, year, month, day).getZip();
}catch(ApiException e){
//...
}
VisionSpotClient client = new VisionSpotClient();
client.getKlines(symbol, CandlestickInterval, year, month, day).getZip((res, exception)->{
if(exception == null){
//...
} else{
//...
}
});
- Monthly
- Daily
- sync
- async
VisionSpotClient client = new VisionSpotClient();
try{
List<List<String>> response = client.getKlines(symbol, CandlestickInterval, year, month).getCSV();
}catch(ApiException e){
//...
}
VisionSpotClient client = new VisionSpotClient();
client.getKlines(symbol, CandlestickInterval, year, month).getCSV((res, exception)->{
if(exception == null){
//...
} else{
//...
}
});
- sync
- async
VisionSpotClient client = new VisionSpotClient();
try{
List<List<String>> response = client.getKlines(symbol, CandlestickInterval, year, month, day).getCSV();
}catch(ApiException e){
//...
}
VisionSpotClient client = new VisionSpotClient();
client.getKlines(symbol, CandlestickInterval, year, month, day).getCSV((res, exception)->{
if(exception == null){
//...
} else{
//...
}
});
- Monthly
- Daily
- sync
- async
VisionSpotClient client = new VisionSpotClient();
try{
List<CandlestickBar> response = client.getKlines(symbol, CandlestickInterval, year, month).getData();
}catch(ApiException e){
//...
}
VisionSpotClient client = new VisionSpotClient();
client.getKlines(symbol, CandlestickInterval, year, month).getData((res, exception)->{
if(exception == null){
//...
} else{
//...
}
});
- sync
- async
VisionSpotClient client = new VisionSpotClient();
try{
List<CandlestickBar> response = client.getKlines(symbol, CandlestickInterval, year, month, day).getData();
}catch(ApiException e){
//...
}
VisionSpotClient client = new VisionSpotClient();
client.getKlines(symbol, CandlestickInterval, year, month, day).getData((res, exception)->{
if(exception == null){
//...
} else{
//...
}
});
- Monthly
- Daily
- sync
- async
VisionSpotClient client = new VisionSpotClient();
try{
Checksum response = client.getKlinesChecksum(symbol, CandlestickInterval, year, month).getChecksum();
}catch(ApiException e){
//...
}
VisionSpotClient client = new VisionSpotClient();
client.getKlinesChecksum(symbol, CandlestickInterval, year, month).getChecksum((res, exception)->{
if(exception == null){
//...
} else{
//...
}
});
- sync
- async
VisionSpotClient client = new VisionSpotClient();
try{
Checksum response = client.getKlinesChecksum(symbol, CandlestickInterval, year, month, day).getChecksum();
}catch(ApiException e){
//...
}
VisionSpotClient client = new VisionSpotClient();
client.getKlinesChecksum(symbol, CandlestickInterval, year, month, day).getChecksum((res, exception)->{
if(exception == null){
//...
} else{
//...
}
});
Get trades
- Zipped
- In a 2d list format
- Deserialized
- Get Checksum
- Monthly
- Daily
- sync
- async
VisionSpotClient client = new VisionSpotClient();
try{
ZipInputStream response = client.getTrades(symbol, year, month).getZip();
}catch(ApiException e){
//...
}
VisionSpotClient client = new VisionSpotClient();
client.getTrades(symbol, year, month).getZip((res, exception)->{
if(exception == null){
//...
} else{
//...
}
});
- sync
- async
VisionSpotClient client = new VisionSpotClient();
try{
ZipInputStream response = client.getTrades(symbol, year, month, day).getZip();
}catch(ApiException e){
//...
}
VisionSpotClient client = new VisionSpotClient();
client.getTrades(symbol, year, month, day).getZip((res, exception)->{
if(exception == null){
//...
} else{
//...
}
});
- Monthly
- Daily
- sync
- async
VisionSpotClient client = new VisionSpotClient();
try{
List<List<String>> response = client.getTrades(symbol, year, month).getCSV();
}catch(ApiException e){
//...
}
VisionSpotClient client = new VisionSpotClient();
client.getTrades(symbol, year, month).getCSV((res, exception)->{
if(exception == null){
//...
} else{
//...
}
});
- sync
- async
VisionSpotClient client = new VisionSpotClient();
try{
List<List<String>> response = client.getTrades(symbol, year, month, day).getCSV();
}catch(ApiException e){
//...
}
VisionSpotClient client = new VisionSpotClient();
client.getTrades(symbol, year, month, day).getCSV((res, exception)->{
if(exception == null){
//...
} else{
//...
}
});
- Monthly
- Daily
- sync
- async
VisionSpotClient client = new VisionSpotClient();
try{
List<Trade> response = client.getTrades(symbol, year, month).getData();
}catch(ApiException e){
//...
}
VisionSpotClient client = new VisionSpotClient();
client.getTrades(symbol, year, month).getData((res, exception)->{
if(exception == null){
//...
} else{
//...
}
});
- sync
- async
VisionSpotClient client = new VisionSpotClient();
try{
List<Trade> response = client.getTrades(symbol, year, month, day).getData();
}catch(ApiException e){
//...
}
VisionSpotClient client = new VisionSpotClient();
client.getTrades(symbol, year, month, day).getData((res, exception)->{
if(exception == null){
//...
} else{
//...
}
});
- Monthly
- Daily
- sync
- async
VisionSpotClient client = new VisionSpotClient();
try{
Checksum response = client.getTradesChecksum(symbol, year, month).getChecksum();
}catch(ApiException e){
//...
}
VisionSpotClient client = new VisionSpotClient();
client.getTradesChecksum(symbol, year, month).getChecksum((res, exception)->{
if(exception == null){
//...
} else{
//...
}
});
- sync
- async
VisionSpotClient client = new VisionSpotClient();
try{
Checksum response = client.getTradesChecksum(symbol, year, month, day).getChecksum();
}catch(ApiException e){
//...
}
VisionSpotClient client = new VisionSpotClient();
client.getTradesChecksum(symbol, year, month, day).getChecksum((res, exception)->{
if(exception == null){
//...
} else{
//...
}
});
Get aggregate trades
- Zipped
- In a 2d list format
- Deserialized
- Get Checksum
- Monthly
- Daily
- sync
- async
VisionSpotClient client = new VisionSpotClient();
try{
ZipInputStream response = client.getAggTrades(symbol, year, month).getZip();
}catch(ApiException e){
//...
}
VisionSpotClient client = new VisionSpotClient();
client.getAggTrades(symbol, year, month).getZip((res, exception)->{
if(exception == null){
//...
} else{
//...
}
});
- sync
- async
VisionSpotClient client = new VisionSpotClient();
try{
ZipInputStream response = client.getAggTrades(symbol, year, month, day).getZip();
}catch(ApiException e){
//...
}
VisionSpotClient client = new VisionSpotClient();
client.getAggTrades(symbol, year, month, day).getZip((res, exception)->{
if(exception == null){
//...
} else{
//...
}
});
- Monthly
- Daily
- sync
- async
VisionSpotClient client = new VisionSpotClient();
try{
List<List<String>> response = client.getAggTrades(symbol, year, month).getCSV();
}catch(ApiException e){
//...
}
VisionSpotClient client = new VisionSpotClient();
client.getAggTrades(symbol, year, month).getCSV((res, exception)->{
if(exception == null){
//...
} else{
//...
}
});
- sync
- async
VisionSpotClient client = new VisionSpotClient();
try{
List<List<String>> response = client.getAggTrades(symbol, year, month, day).getCSV();
}catch(ApiException e){
//...
}
VisionSpotClient client = new VisionSpotClient();
client.getAggTrades(symbol, year, month, day).getCSV((res, exception)->{
if(exception == null){
//...
} else{
//...
}
});
- Monthly
- Daily
- sync
- async
VisionSpotClient client = new VisionSpotClient();
try{
List<AggTrade> response = client.getAggTrades(symbol, year, month).getData();
}catch(ApiException e){
//...
}
VisionSpotClient client = new VisionSpotClient();
client.getAggTrades(symbol, year, month).getData((res, exception)->{
if(exception == null){
//...
} else{
//...
}
});
- sync
- async
VisionSpotClient client = new VisionSpotClient();
try{
List<AggTrade> response = client.getAggTrades(symbol, year, month, day).getData();
}catch(ApiException e){
//...
}
VisionSpotClient client = new VisionSpotClient();
client.getAggTrades(symbol, year, month, day).getData((res, exception)->{
if(exception == null){
//...
} else{
//...
}
});
- Monthly
- Daily
- sync
- async
VisionSpotClient client = new VisionSpotClient();
try{
Checksum response = client.getAggTradesChecksum(symbol, year, month).getChecksum();
}catch(ApiException e){
//...
}
VisionSpotClient client = new VisionSpotClient();
client.getAggTradesChecksum(symbol, year, month).getChecksum((res, exception)->{
if(exception == null){
//...
} else{
//...
}
});
- sync
- async
VisionSpotClient client = new VisionSpotClient();
try{
Checksum response = client.getAggTradesChecksum(symbol, year, month, day).getChecksum();
}catch(ApiException e){
//...
}
VisionSpotClient client = new VisionSpotClient();
client.getAggTradesChecksum(symbol, year, month, day).getChecksum((res, exception)->{
if(exception == null){
//...
} else{
//...
}
});