public class BitfinexTradeServiceRaw extends BitfinexBasePollingService
apiKey, bitfinex, payloadCreator, signatureCreatorexchange| Constructor and Description |
|---|
BitfinexTradeServiceRaw(Exchange exchange)
Constructor
|
getExchangeSymbolsverifyOrder, verifyOrder, verifyOrderpublic BitfinexTradeServiceRaw(Exchange exchange)
exchange - public BitfinexOrderStatusResponse[] getBitfinexOpenOrders() throws IOException
IOExceptionpublic BitfinexOfferStatusResponse[] getBitfinexOpenOffers() throws IOException
IOExceptionpublic BitfinexOrderStatusResponse placeBitfinexMarketOrder(MarketOrder marketOrder, BitfinexOrderType bitfinexOrderType) throws IOException
IOExceptionpublic BitfinexOrderStatusResponse placeBitfinexLimitOrder(LimitOrder limitOrder, BitfinexOrderType bitfinexOrderType, boolean hidden) throws IOException
IOExceptionpublic BitfinexOfferStatusResponse placeBitfinexFixedRateLoanOrder(FixedRateLoanOrder loanOrder, BitfinexOrderType orderType) throws IOException
IOExceptionpublic BitfinexOfferStatusResponse placeBitfinexFloatingRateLoanOrder(FloatingRateLoanOrder loanOrder, BitfinexOrderType orderType) throws IOException
IOExceptionpublic boolean cancelBitfinexOrder(String orderId) throws IOException
IOExceptionpublic BitfinexOfferStatusResponse cancelBitfinexOffer(String offerId) throws IOException
IOExceptionpublic BitfinexOrderStatusResponse getBitfinexOrderStatus(String orderId) throws IOException
IOExceptionpublic BitfinexOfferStatusResponse getBitfinexOfferStatusResponse(String offerId) throws IOException
IOExceptionpublic BitfinexTradeResponse[] getBitfinexTradeHistory(String symbol, long timestamp, int limit) throws IOException
IOExceptionpublic BitfinexCreditResponse[] getBitfinexActiveCredits() throws IOException
IOExceptionpublic BitfinexActivePositionsResponse[] getBitfinexActivePositions() throws IOException
IOExceptionCopyright © 2012–2017 Xeiam, LLC. All rights reserved.