Package org.knowm.xchange.yobit.service
Class YoBitTradeServiceRaw
java.lang.Object
org.knowm.xchange.service.BaseExchangeService
org.knowm.xchange.yobit.service.YoBitBaseService<YoBit>
org.knowm.xchange.yobit.service.YoBitTradeServiceRaw
- All Implemented Interfaces:
BaseService
,TradeService
- Direct Known Subclasses:
YoBitTradeService
-
Field Summary
Fields inherited from class org.knowm.xchange.yobit.service.YoBitBaseService
service, signatureCreator
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncancelOrder
(CancelOrderByIdParams params) protected BaseYoBitResponse
cancelOrderById
(String orderId) Gets the open ordersgetOrder
(OrderQueryParams... orderQueryParams) get's the latest order form the order book that with matching orderQueryParamsgetOrderImpl
(String... orderIds) trade
(LimitOrder limitOrder) tradeHistory
(Integer count, Long offset, String market, Long fromTransactionId, Long endTransactionId, String order, Long fromTimestamp, Long toTimestamp) Methods inherited from class org.knowm.xchange.service.BaseExchangeService
verifyOrder, verifyOrder, verifyOrder
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.knowm.xchange.service.trade.TradeService
cancelAllOrders, cancelOrder, cancelOrder, changeOrder, createOpenOrdersParams, createTradeHistoryParams, getOpenOrders, getOpenPositions, getOrder, getRequiredCancelOrderParamClasses, getRequiredOrderQueryParamClass, getTradeHistory, placeLimitOrder, placeMarketOrder, placeStopOrder, verifyOrder, verifyOrder
-
Constructor Details
-
YoBitTradeServiceRaw
-
-
Method Details
-
getOpenOrders
Description copied from interface:TradeService
Gets the open orders- Specified by:
getOpenOrders
in interfaceTradeService
- Returns:
- the open orders, null if some sort of error occurred. Implementers should log the error.
- Throws:
IOException
- - Indication that a networking error occurred while fetching JSON data
-
activeOrders
- Throws:
IOException
-
trade
- Throws:
IOException
-
cancelOrder
- Throws:
IOException
-
cancelOrderById
- Throws:
IOException
-
tradeHistory
public BaseYoBitResponse tradeHistory(Integer count, Long offset, String market, Long fromTransactionId, Long endTransactionId, String order, Long fromTimestamp, Long toTimestamp) throws IOException - Throws:
IOException
-
getOrderImpl
- Throws:
IOException
-
getOrder
Description copied from interface:TradeService
get's the latest order form the order book that with matching orderQueryParams- Specified by:
getOrder
in interfaceTradeService
- Returns:
- the order as it is on the exchange.
- Throws:
IOException
- - Indication that a networking error occurred while fetching JSON data
-