Class PoloniexTradeService
java.lang.Object
org.knowm.xchange.service.BaseExchangeService
org.knowm.xchange.poloniex.service.PoloniexBaseService
org.knowm.xchange.poloniex.service.PoloniexTradeServiceRaw
org.knowm.xchange.poloniex.service.PoloniexTradeService
- All Implemented Interfaces:
BaseService,TradeService
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.knowm.xchange.poloniex.service.PoloniexBaseService
apiKey, poloniex, poloniexAuthenticated, signatureCreatorFields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange -
Constructor Summary
ConstructorsConstructorDescriptionPoloniexTradeService(Exchange exchange, PoloniexMarketDataService poloniexMarketDataService) -
Method Summary
Modifier and TypeMethodDescriptionbooleancancelOrder(String orderId) booleancancelOrder(CancelOrderParams orderParams) CreateTradeHistoryParamsthat supportsTradeHistoryParamsTimeSpanandTradeHistoryParamCurrencyPair.getOpenOrders(OpenOrdersParams params) getOrder(OrderQueryParams... orderQueryParams) getOrderImpl(String... orderIds) getOrderTrades(String orderId, CurrencyPair currencyPair) final UserTradesgetOrderTrades(Order order) getTradeHistory(TradeHistoryParams params) placeLimitOrder(LimitOrder limitOrder) placeMarketOrder(MarketOrder marketOrder) Methods inherited from class org.knowm.xchange.poloniex.service.PoloniexTradeServiceRaw
buy, cancel, getFeeInfo, move, move, returnAllAvailableAccountBalances, returnAllMarginPositions, returnAvailableAccountBalances, returnMarginAccountSummary, returnMarginPosition, returnOpenOrders, returnOpenOrders, returnOrderTrades, returnTradableBalances, returnTradeHistory, returnTradeHistory, 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, placeStopOrder, verifyOrder, verifyOrder
-
Constructor Details
-
PoloniexTradeService
-
-
Method Details
-
getOpenOrders
- Specified by:
getOpenOrdersin interfaceTradeService- Throws:
IOException
-
getOpenOrders
- Specified by:
getOpenOrdersin interfaceTradeService- Throws:
ExchangeExceptionIOException
-
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
-
getTradeHistory
- Specified by:
getTradeHistoryin interfaceTradeService- Parameters:
params- Can optionally implementTradeHistoryParamCurrencyPairandTradeHistoryParamsTimeSpan. All other TradeHistoryParams types will be ignored.- Throws:
IOException
-
getMakerFee
- Throws:
IOException
-
getTakerFee
- Throws:
IOException
-
createTradeHistoryParams
CreateTradeHistoryParamsthat supportsTradeHistoryParamsTimeSpanandTradeHistoryParamCurrencyPair.- Specified by:
createTradeHistoryParamsin interfaceTradeService
-
createOpenOrdersParams
- Specified by:
createOpenOrdersParamsin interfaceTradeService
-
getOrderImpl
- Throws:
IOException
-
getOrder
- Specified by:
getOrderin interfaceTradeService- Throws:
IOException
-
getOrderTrades
- Throws:
IOException
-
getOrderTrades
- Throws:
IOException
-