Class DeribitTradeService

    • Constructor Detail

      • DeribitTradeService

        public DeribitTradeService​(DeribitExchange exchange)
    • Method Detail

      • cancelOrder

        public boolean cancelOrder​(String orderId)
                            throws IOException
        Description copied from interface: TradeService
        cancels order with matching orderId (conveniance method, typical just delegate to cancelOrder(CancelOrderByIdParams))
        Specified by:
        cancelOrder in interface TradeService
        Returns:
        true if order was successfully cancelled, false otherwise.
        Throws:
        IOException - - Indication that a networking error occurred while fetching JSON data