Package org.knowm.xchange.ascendex
Interface IAscendex
- All Known Subinterfaces:
IAscendexAuthenticated
@Path("api/pro/v1")
@Produces("application/json")
public interface IAscendex
-
Method Summary
Modifier and Type Method Description AscendexResponse<List<AscendexAssetDto>>
getAllAssets()
AscendexResponse<List<AscendexProductDto>>
getAllProducts()
AscendexResponse<List<AscendexBarHistDto>>
getHistoricalBarData(String symbol, String internal, Long to, Long from, Integer noOfBars)
AscendexResponse<AscendexOrderbookDto>
getOrderbookDepth(String symbol)
AscendexResponse<AscendexMarketTradesDto>
getTrades(String symbol)
-
Method Details
-
getAllAssets
- Throws:
IOException
-
getAllProducts
@GET @Path("/products") AscendexResponse<List<AscendexProductDto>> getAllProducts() throws IOException- Throws:
IOException
-
getOrderbookDepth
@GET @Path("/depth") AscendexResponse<AscendexOrderbookDto> getOrderbookDepth(@QueryParam("symbol") String symbol) throws IOException- Throws:
IOException
-
getTrades
@GET @Path("/trades") AscendexResponse<AscendexMarketTradesDto> getTrades(@QueryParam("symbol") String symbol) throws IOException- Throws:
IOException
-
getHistoricalBarData
@GET @Path("/barhist") AscendexResponse<List<AscendexBarHistDto>> getHistoricalBarData(@QueryParam("symbol") String symbol, @QueryParam("interval") String internal, @QueryParam("to") Long to, @QueryParam("from") Long from, @QueryParam("n") Integer noOfBars) throws IOException- Throws:
IOException
-