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
- 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 -
Method Summary
Modifier and TypeMethodDescriptionbuy
(LimitOrder limitOrder) boolean
move
(String orderId, BigDecimal originalAmount, BigDecimal limitPrice) move
(String orderId, BigDecimal originalAmount, BigDecimal limitPrice, PoloniexOrderFlags flag) returnAvailableAccountBalances
(String account) returnMarginPosition
(CurrencyPair currencyPair) returnOpenOrders
(CurrencyPair currencyPair) returnOrderTrades
(String orderId) returnTradeHistory
(Long startTime, Long endTime, Integer limit) returnTradeHistory
(CurrencyPair currencyPair, Long startTime, Long endTime, Integer limit) sell
(LimitOrder limitOrder) 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
-