Class PoloniexTradeServiceRaw
java.lang.Object
org.knowm.xchange.service.BaseExchangeService
org.knowm.xchange.poloniex.service.PoloniexBaseService
org.knowm.xchange.poloniex.service.PoloniexTradeServiceRaw
- All Implemented Interfaces:
BaseService
- Direct Known Subclasses:
PoloniexTradeService
public class PoloniexTradeServiceRaw extends PoloniexBaseService
- Author:
- Zach Holmes
-
Field Summary
Fields inherited from class org.knowm.xchange.poloniex.service.PoloniexBaseService
apiKey, poloniex, poloniexAuthenticated, signatureCreator
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
Constructor Summary
Constructors Constructor Description PoloniexTradeServiceRaw(Exchange exchange)
-
Method Summary
Methods inherited from class org.knowm.xchange.service.BaseExchangeService
verifyOrder, verifyOrder, verifyOrder
-
Constructor Details
-
PoloniexTradeServiceRaw
-
-
Method Details
-
returnOpenOrders
- Throws:
IOException
-
returnOrderTrades
- Throws:
IOException
-
returnOpenOrders
- Throws:
IOException
-
returnTradeHistory
public PoloniexUserTrade[] returnTradeHistory(CurrencyPair currencyPair, Long startTime, Long endTime, Integer limit) throws IOException- Throws:
IOException
-
returnTradeHistory
public HashMap<String,PoloniexUserTrade[]> returnTradeHistory(Long startTime, Long endTime, Integer limit) throws IOException- Throws:
IOException
-
returnMarginAccountSummary
- Throws:
IOException
-
returnMarginPosition
public PoloniexMarginPostionResponse returnMarginPosition(CurrencyPair currencyPair) throws IOException- Throws:
IOException
-
returnAllMarginPositions
- Throws:
IOException
-
returnAvailableAccountBalances
- Throws:
IOException
-
returnTradableBalances
- Throws:
IOException
-
returnAllAvailableAccountBalances
- Throws:
IOException
-
buy
- Throws:
IOException
-
sell
- Throws:
IOException
-
move
public PoloniexMoveResponse move(String orderId, BigDecimal originalAmount, BigDecimal limitPrice, PoloniexOrderFlags flag) throws IOException- Throws:
IOException
-
move
public PoloniexMoveResponse move(String orderId, BigDecimal originalAmount, BigDecimal limitPrice) throws IOException- Throws:
IOException
-
cancel
- Throws:
IOException
-
getFeeInfo
- Throws:
IOException
-