public class HitbtcTradeServiceRaw extends HitbtcBasePollingService
apiKey, hitbtc, signatureCreator
exchange
Constructor and Description |
---|
HitbtcTradeServiceRaw(Exchange exchange)
Constructor
|
checkRejected, handleException
getExchangeSymbols, verifyOrder, verifyOrder, verifyOrder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExchangeSymbols
public HitbtcTradeServiceRaw(Exchange exchange)
exchange
- public HitbtcOrdersResponse getOpenOrdersRawBaseResponse() throws IOException
IOException
public HitbtcOrder[] getOpenOrdersRaw() throws IOException
IOException
public HitbtcOrdersResponse getRecentOrdersRawBaseResponse(int max_results) throws IOException
IOException
public HitbtcOrder[] getRecentOrdersRaw(int max_results) throws IOException
IOException
public HitbtcExecutionReportResponse placeMarketOrderRawBaseResponse(MarketOrder marketOrder) throws IOException
IOException
public HitbtcExecutionReport placeMarketOrderRaw(MarketOrder marketOrder) throws IOException
IOException
public HitbtcExecutionReport placeLimitOrderRaw(LimitOrder limitOrder) throws IOException
IOException
public HitbtcExecutionReportResponse placeLimitOrderRawReturningHitbtcExecutionReportResponse(LimitOrder limitOrder) throws IOException
IOException
public HitbtcExecutionReportResponse cancelOrderRaw(String orderId) throws IOException
IOException
public HitbtcExecutionReportResponse cancelOrderRaw(String clientOrderId, String cancelRequestClientOrderId, String symbol, String side) throws IOException
IOException
public HitbtcTradeResponse getTradeHistoryRawBaseResponse(int startIndex, int maxResults, String symbols) throws IOException
IOException
public HitbtcOwnTrade[] getTradeHistoryRaw(int startIndex, int maxResults, String symbols) throws IOException
IOException
protected BigInteger getLots(Order order)
IllegalArgumentException
- if the result were to be less than lot size for given currency pairCopyright © 2012–2018 Xeiam, LLC. All rights reserved.