Package org.knowm.xchange.gateio
Interface Gateio
@Path("api2/1")
@Produces("application/json")
public interface Gateio
-
Method Summary
Modifier and TypeMethodDescriptiongetFullDepth
(String tradeableIdentifier, String currency) getKlinesGate
(String tradePair, Integer hours, Long interval) getPairs()
getTradeHistory
(String tradeableIdentifier, String currency) getTradeHistorySince
(String tradeableIdentifier, String currency, String tradeId)
-
Method Details
-
getMarketInfo
- Throws:
IOException
-
getPairs
- Throws:
IOException
-
getDepths
- Throws:
IOException
-
getTickers
- Throws:
IOException
-
getCoinInfo
- Throws:
IOException
-
getTicker
@GET @Path("ticker/{ident}_{currency}") GateioTicker getTicker(@PathParam("ident") String tradeableIdentifier, @PathParam("currency") String currency) throws IOException - Throws:
IOException
-
getFullDepth
@GET @Path("orderBook/{ident}_{currency}") GateioDepth getFullDepth(@PathParam("ident") String tradeableIdentifier, @PathParam("currency") String currency) throws IOException - Throws:
IOException
-
getTradeHistory
@GET @Path("tradeHistory/{ident}_{currency}") GateioTradeHistory getTradeHistory(@PathParam("ident") String tradeableIdentifier, @PathParam("currency") String currency) throws IOException - Throws:
IOException
-
getTradeHistorySince
@GET @Path("tradeHistory/{ident}_{currency}/{tradeId}") GateioTradeHistory getTradeHistorySince(@PathParam("ident") String tradeableIdentifier, @PathParam("currency") String currency, @PathParam("tradeId") String tradeId) throws IOException - Throws:
IOException
-
getKlinesGate
@GET @Path("candlestick2/{currency_pair}") GateioCandlestickHistory getKlinesGate(@PathParam("currency_pair") String tradePair, @QueryParam("range_hour") Integer hours, @QueryParam("group_sec") Long interval) throws IOException - Throws:
IOException
-