Package org.knowm.xchange.bibox
Interface Bibox
- All Known Subinterfaces:
BiboxAuthenticated
@Path("v1")
@Produces("application/json")
public interface Bibox
- Author:
- odrotleff
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the trade history.Retrieves all tickers.Retrieves the order book for a currency pair.orderBooks
(String cmds) Retrieve order books.
-
Field Details
-
FORM_CMDS
- See Also:
-
FORM_APIKEY
- See Also:
-
FORM_SIGNATURE
- See Also:
-
-
Method Details
-
mdata
@GET @Path("mdata") BiboxResponse<BiboxTicker> mdata(@QueryParam("cmd") String cmd, @QueryParam("pair") String pair) throws IOException, BiboxException - Throws:
IOException
BiboxException
-
orderBook
@GET @Path("mdata") BiboxResponse<BiboxOrderBook> orderBook(@QueryParam("cmd") String cmd, @QueryParam("pair") String pair, @QueryParam("size") Integer size) throws IOException, BiboxException Retrieves the order book for a currency pair.- Parameters:
cmd
- always "depth"pair
- the currency pairsize
- the max size of the order book (1-200)- Returns:
- Throws:
IOException
BiboxException
-
deals
@GET @Path("mdata") BiboxResponse<List<BiboxDeals>> deals(@QueryParam("cmd") String cmd, @QueryParam("pair") String pair, @QueryParam("size") Integer size) throws IOException, BiboxException Retrieves the trade history.- Parameters:
cmd
- always "deals"pair
- the currency pairsize
- how many,1-200,if not passed will return 200- Returns:
- Throws:
IOException
BiboxException
-
marketAll
@GET @Path("mdata") BiboxResponse<List<BiboxMarket>> marketAll(@QueryParam("cmd") String cmd) throws IOException, BiboxException Retrieves all tickers.- Parameters:
cmd
- always "marketAll"- Returns:
- Throws:
IOException
BiboxException
-
orderBooks
@POST @Path("mdata") BiboxMultipleResponses<BiboxOrderBook> orderBooks(@FormParam("cmds") String cmds) Retrieve order books.- Parameters:
cmds
- contains information about the list of order books to fetch.- Returns:
- list of order books
-