Class BitcointoyouTradeService
java.lang.Object
org.knowm.xchange.service.BaseExchangeService
org.knowm.xchange.bitcointoyou.service.polling.BitcointoyouBasePollingService
org.knowm.xchange.bitcointoyou.service.polling.BitcointoyouTradeServiceRaw
org.knowm.xchange.bitcointoyou.service.polling.BitcointoyouTradeService
- All Implemented Interfaces:
BaseService,TradeService
TradeService implementation for Bitcointoyou Exchange.- Author:
- Jonathas Carrijo, Danilo Guimaraes
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields inherited from class org.knowm.xchange.bitcointoyou.service.polling.BitcointoyouBasePollingService
bitcointoyouFields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancancelOrder(String orderId) booleancancelOrder(CancelOrderParams orderParams) CreateTradeHistoryParamsthat supportsTradeHistoryParamsTimeSpanandTradeHistoryParamCurrencyPair.getOpenOrders(OpenOrdersParams params) getOrder(OrderQueryParams... orderQueryParams) placeLimitOrder(LimitOrder limitOrder) placeMarketOrder(MarketOrder marketOrder) Methods inherited from class org.knowm.xchange.bitcointoyou.service.polling.BitcointoyouTradeServiceRaw
buy, cancel, returnOpenOrders, returnOrderById, sellMethods inherited from class org.knowm.xchange.service.BaseExchangeService
verifyOrder, verifyOrder, verifyOrderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.knowm.xchange.service.trade.TradeService
cancelAllOrders, changeOrder, getOpenPositions, getOrder, getRequiredCancelOrderParamClasses, getRequiredOrderQueryParamClass, getTradeHistory, placeStopOrder, verifyOrder, verifyOrder
-
Constructor Details
-
BitcointoyouTradeService
Constructor- Parameters:
exchange- the Bitcointoyou Exchange
-
-
Method Details
-
getOpenOrders
- Specified by:
getOpenOrdersin interfaceTradeService- Throws:
IOException
-
placeMarketOrder
- Specified by:
placeMarketOrderin interfaceTradeService- Throws:
IOException
-
placeLimitOrder
- Specified by:
placeLimitOrderin interfaceTradeService- Throws:
IOException
-
cancelOrder
- Specified by:
cancelOrderin interfaceTradeService- Throws:
IOException
-
cancelOrder
- Specified by:
cancelOrderin interfaceTradeService- Throws:
IOException
-
createTradeHistoryParams
CreateTradeHistoryParamsthat supportsTradeHistoryParamsTimeSpanandTradeHistoryParamCurrencyPair.- Specified by:
createTradeHistoryParamsin interfaceTradeService
-
getOrder
- Specified by:
getOrderin interfaceTradeService- Throws:
IOException
-
getOpenOrders
public OpenOrders getOpenOrders(OpenOrdersParams params) throws ExchangeException, NotAvailableFromExchangeException, NotYetImplementedForExchangeException, IOException - Specified by:
getOpenOrdersin interfaceTradeService- Throws:
ExchangeExceptionNotAvailableFromExchangeExceptionNotYetImplementedForExchangeExceptionIOException
-
createOpenOrdersParams
- Specified by:
createOpenOrdersParamsin interfaceTradeService
-