Package org.knowm.xchange.gateio
Interface Gateio
- All Known Subinterfaces:
GateioAuthenticated
@Path("api2/1")
@Produces("application/json")
public interface Gateio
-
Method Summary
Modifier and Type Method Description GateioCoinInfoWrapper
getCoinInfo()
Map<String,GateioDepth>
getDepths()
GateioDepth
getFullDepth(String tradeableIdentifier, String currency)
GateioCandlestickHistory
getKlinesGate(String tradePair, Integer hours, Long interval)
GateioMarketInfoWrapper
getMarketInfo()
GateioCurrencyPairs
getPairs()
GateioTicker
getTicker(String tradeableIdentifier, String currency)
Map<String,GateioTicker>
getTickers()
GateioTradeHistory
getTradeHistory(String tradeableIdentifier, String currency)
GateioTradeHistory
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
-