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
-
Method Summary
Modifier and TypeMethodDescriptiongetOrderBook
(BitstampV2.Pair pair) getTicker
(BitstampV2.Pair pair) getTickerHour
(BitstampV2.Pair pair) 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
-
getTickers
- 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, BitstampException Returns descending list of transactions.- Throws:
IOException
BitstampException
-
getTradingPairsInfo
@GET @Path("trading-pairs-info/") BitstampPairInfo[] getTradingPairsInfo() throws IOException, BitstampException- Throws:
IOException
BitstampException
-