Package org.knowm.xchange.bitstamp
Interface BitstampV2
@Path("api/v2")
@Produces("application/json")
public interface BitstampV2
- Author:
- Matija Mazi See https://www.bitstamp.net/api/ for up-to-date docs.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
BitstampV2.Pair
-
Method Summary
Modifier and Type Method Description BitstampOrderBook
getOrderBook(BitstampV2.Pair pair)
BitstampTicker
getTicker(BitstampV2.Pair pair)
BitstampTicker
getTickerHour(BitstampV2.Pair pair)
BitstampPairInfo[]
getTradingPairsInfo()
BitstampTransaction[]
getTransactions(BitstampV2.Pair pair, BitstampMarketDataServiceRaw.BitstampTime time)
Returns descending list of transactions.
-
Method Details
-
getOrderBook
@GET @Path("order_book/{pair}/") BitstampOrderBook getOrderBook(@PathParam("pair") BitstampV2.Pair pair) throws IOException, BitstampException- Throws:
IOException
BitstampException
-
getTicker
@GET @Path("ticker/{pair}/") BitstampTicker getTicker(@PathParam("pair") BitstampV2.Pair pair) throws IOException, BitstampException- Throws:
IOException
BitstampException
-
getTickerHour
@GET @Path("ticker_hour/{pair}/") BitstampTicker getTickerHour(@PathParam("pair") BitstampV2.Pair pair) throws IOException, BitstampException- Throws:
IOException
BitstampException
-
getTransactions
@GET @Path("transactions/{pair}/") BitstampTransaction[] getTransactions(@PathParam("pair") BitstampV2.Pair pair, @QueryParam("time") BitstampMarketDataServiceRaw.BitstampTime time) throws IOException, BitstampExceptionReturns descending list of transactions.- Throws:
IOException
BitstampException
-
getTradingPairsInfo
@GET @Path("trading-pairs-info/") BitstampPairInfo[] getTradingPairsInfo() throws IOException, BitstampException- Throws:
IOException
BitstampException
-